Button Styles

OS/2 Windows Explanation
BS_3STATE BS_3STATE Creates a three-state check box similar to a check box, except that when the box is selected it toggles between checked, unchecked, and halftone (indeterminate). When the user selects the control, the owner window receives a notification message informing it that the control has been selected and that the application should check or uncheck the control.
BS_AUTO3STATE BS_AUTO3STATE Creates an automatic three-state check box similar to the three-state check box, but when it is selected it is automatically checked. A notification message is sent to the owning window when the button is selected.
BS_AUTOCHECKBOX BS_AUTOCHECKBOX Creates an automatic check box similar to a check box, except when the user selects it, it toggles between a checked and unchecked state. The owner window of the control is sent a notification message to indicate that the control has been selected.
BS_AUTORADIOBUTTON BS_AUTORADIOBUTTON Creates an automatic radio button similar to a radio button except that other radio buttons within the group are deselected when it is selected. The owner window of the control is sent a notification message to indicate that the control has been selected.
BS_AUTOSIZE - Allows the automatic sizing of a button based on its text. The cx and cy components of the size are set to -1 (OS/2 Version 2.x and above).
BS_BITMAP   Creates a bitmap push button in which the handle of the push button’s bitmap is specified within the BTNCDATA structure, which is passed to the control when it is created using WinCreateWindow (OS/2 Version 2.x and above).
BS_CHECKBOX BS_CHECKBOX Creates a check box, a small square with text displayed to the right of the square. When the user selects the control, the owner window of the application receives a notification message informing it that the control has been selected and that the application should check or uncheck the control.
BS_DEFAULT BS_DEFPUSHBUTTON Used with push button controls to indicate the default action. The push button is drawn with an emphasized border to indicate to the user that when he or she presses the ENTER key, the push button is automatically selected. Only one push button should have this option within a given window.
BS_HELP   Used in conjunction with other buttons to send a WM_HELP message to the owner window of the control when the button is selected. Only one button control within a window should use this option— generally a push button labeled Help. The BS_NOPOINTERFOCUS option should be used as well, to allow the Information Presentation Facility (IPF) of OS/2 Presentation Manager to determine which control the user has currently selected within the window, allowing the IPF to display help information for that particular control.
BS_ICON BS_ICON Creates in which the handle of the push button’s icon is specified within the BTNCDATA structure, which is passed to the control when it is created using WinCreateWindow (OS/2 Version 2.x and above).an icon push button
BS_TEXT   Used in conjunction with icon push buttons. (OS/2 Version 3.x and above)
BS_MINIICON   Creates an icon push button with the icon image being the small icon. (OS/2 Version 3.x and above)
BS_NOBORDER   Used in conjunction with push buttons to draw the push button without any border.
BS_NOCURSORSELECT   Used in conjunction with auto radio buttons. The auto radio button is prevented from being automatically selected when the user moves the cursor to the button using the cursor-movement keys.
BS_NOPOINTERFOCUS   Prevents the button control from receiving the focus when it is selected.
BS_PUSHBUTTON BS_PUSHBUTTON Creates a push button. Push buttons are used to invoke commands that the application acts on. Such commands can accept, cancel, display another dialog, etc. When the push button is selected, a WM_COMMAND message is sent to the owner window of the button.
BS_RADIOBUTTON BS_RADIOBUTTON Creates a radio button, a small circle with text displayed to its right. Usually, radio buttons are used within a group of choices. When selected, the radio button sends a WM_CONTROL message to the owner window of the button; the application must then unselect another radio button in the group. Unlike with the auto radio button, the other radio button remains selected.
BS_SYSCOMMAND   Causes a selected button to send a WM_SYSCOMMAND message to the window owning the button when it is selected by the user.
BS_USERBUTTON BS_USERBUTTON Creates a user-defined button that sends messages to paint, invert, disable or select it to the window owning the button. When the button is to be painted, the owner window receives a BN_PAINT message.
  BS_GROUPBOX Creates a box whose upper left corner contains control text. This option is useful for enclosing groups of similar controls, such as radio buttons or check boxes, in a box. This style is referred to in the OS/2 Presentation Manager as SS_GROUPBOX.
  BS_NOTIFY Enables a button to send BN_DBLCLK, BN_KILLFOCUS, and BN_SETFOCUS notification messages to its parent window.
  BS_LEFTTEXT Creates a button (radio, check box, three-state) where the text appears on the left side of the radio button or check box.
- BS_OWNERDRAW Creates a owner-drawn button that sends messages to the window owning the button to paint, invert, disable or select it.


OS/2 - Windows Styles Definitions: Detailed Descriptions
OS/2 - Windows Styles Definitions: Summary