Home > Software engineering >  Dialog box how to implement VS own "style style"
Dialog box how to implement VS own "style style"

Time:09-17

V for single documents and document in the project wizard has a variety of "style style can choose, can also achieve the runtime avi
But if chose "dialog", "style style" option is grey, can't use the

1. If the pop-up dialog box is needed in application, how to maintain consistent style pattern and the main interface, and realize the skin?
2. "style style" the scope of what are they? Only main interface? Like other controls will change too, please?

CodePudding user response:

ModifyStyle (WS_MAXIMIZE WS_CAPTION);
ModifyStyleEx (0, WS_EX_TOOLWINDOW);
ModifyStyleEx (WS_EX_DLGMODALFRAME | WS_EX_CLIENTEDGE | WS_EX_STATICEDGE,
WS Window Style
DS Dialog Style
  • Related