This tip explains how to put bits into the addbits argument to modify buttons.
_BS_DEFPUSHBUTTON
This creates a button similar to a regular button, but with a heavier border. In a dialog window, the user can activate this button by pressing the ENTER key.
Example:
_BS_PUSHLIKE
This style modifies a checkbox or radiobutton so that it looks like a regular button. It looks normal when it is unchecked, and depressed when it is checked.
Example for checkbox:
stylebits #win.button, addbits, removebits, addexbits, removeexbits
This tip explains how to put bits into the addbits argument to modify buttons.
_BS_DEFPUSHBUTTON
This creates a button similar to a regular button, but with a heavier border. In a dialog window, the user can activate this button by pressing the ENTER key.
Example:
_BS_BOTTOM, _BS_TOP, _BS_LEFT, and _BS_RIGHT
These styles create a button with text aligned to the specified direction.
Example:
_BS_FLAT
This creates a non-3D button.
Example:
_BS_PUSHLIKE
This style modifies a checkbox or radiobutton so that it looks like a regular button. It looks normal when it is unchecked, and depressed when it is checked.
Example for checkbox:
Example for radiobutton:
_BS_MULTILINE
If the text is too long to fit on one line, it will form more lines as necessary. See multilinebutton.