Push Button Styles (Windows Embedded CE 6.0)
1/6/2010
The following table shows the styles that are supported by Windows Embedded CE.
Push button style | Description |
---|---|
BS_BOTTOM |
Places the text at the bottom of the button rectangle. |
BS_CENTER |
Centers the text horizontally in the button rectangle. |
BS_DEFPUSHBUTTON |
Creates a push button with a heavy black border. If the button is in a dialog box, the user can select the button by pressing the ENTER key, even when the button does not have the input focus. This style is useful for enabling the user to quickly select the most likely option, or default. |
BS_LEFT |
Left-aligns the text in the button rectangle. |
BS_NOTIFY |
Enables a button to send BN_KILLFOCUS and BN_SETFOCUS notification messages to its parent window. Note that the button sends the BN_CLICKED notification message regardless of whether it has this style. |
BS_OWNERDRAW |
Creates an owner-drawn button. The owner window receives a WM_MEASUREITEM message when the button is created and a WM_DRAWITEM message when a visual aspect of the button has changed. |
BS_PUSHBUTTON |
Creates a push button that posts a WM_COMMAND message to the owner window when the user clicks the button. |
BS_RIGHT |
Right-aligns text in the button rectangle. |
BS_TOP |
Places text at the top of the button rectangle. |
BS_VCENTER |
Vertically centers text in the button rectangle. |
WS_TABSTOP |
Turns the control into a tab stop, which enables the user to select the control by tabbing through the controls in a dialog box. |