STYLE statement

Defines the window style of the dialog box. The window style specifies whether the box is a pop-up or a child window.

STYLE style

style

The window style. This parameter can be an integer value or a combination of window style values (such as WS_CAPTION and WS_SYSMENU) and dialog box style values (such as DS_CENTER).

For a list of window styles, see Window Styles. For a list of dialog box styles, see Dialog Box Template Styles. If you use the window or dialog box style values, you must include Windows.h.