Button styles supported by Windows CE are described in the following table.
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_DBLCLK, BN_KILLFOCUS, and BN_SETFOCUS notification messages to its parent window. Note that buttons send 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 click 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 control into a tab stop, which allows the user to select the control by tabbing through the controls in a dialog box. |