Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

The following table shows the styles supported by Windows Embedded CE.

Non-client area style Description

WS_BORDER

Specifies a window with a thin-line border.

WS_CAPTION

Specifies a window with a title bar and border.

WS_DLGFRAME

Specifies a window with a dialog box border style. A window with this style cannot have a title bar.

WS_EX_CAPTIONOKBTN

Includes an OKbutton in the title bar.

WS_EX_CLIENTEDGE

Specifies a window with a border that has a sunken edge.

WS_EX_CONTEXTHELP

Includes a Helpbutton ( ?) in the title bar of the window.

WS_EX_DLGMODALFRAME

Specifies a window with a double border.

WS_EX_OVERLAPPEDWINDOW

Combines the WS_EX_CLIENTEDGE and WS_EX_WINDOWEDGE styles.

WS_EX_STATICEDGE

Specifies a window with a three-dimensional border style. This style should be used for items that do not accept user input.

WS_EX_WINDOWEDGE

Specifies a window border with a raised edge.

WS_HSCROLL

Specifies a window with a horizontal scroll bar.

WS_OVERLAPPED

Specifies a window with the WS_BORDER and WS_CAPTION styles.

WS_SIZEBOX

Creates a window that has a sizing border.

WS_SYSMENU

Specifies a window with a window menu on its title bar. Use in conjunction with the WS_CAPTION style. Windows Embedded CE does not have a system menu, but you can use the WS_SYSMENU style to add the standard Close( X) button to a window title bar.

WS_VSCROLL

Specifies a window with a vertical scroll bar.

See Also