Compartir a través de


Non-client Area Styles (Compact 2013)

3/28/2014

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

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 OK button in the title bar.

WS_EX_CLIENTEDGE

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

WS_EX_CONTEXTHELP

Includes a Help button (?) 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 Compact 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

Reference

Window and Message Box Styles
Control Styles