Push Button Styles
Styles Tab
- The Push Button Styles dialog allows you
to enter the options, styles, ID and value of the push
button. The Dialog list box displays the
possible dialogs from which to choose from. There are Cancel and Enter buttons along the bottom of the dialog box.
Button options:
- Default designates a push
button as the default when the user presses the ENTER key
within the dialog. The Push Button will appear with a
thick border to indicate to the user that it is the
default.
- Help designates a push
button as the help button. When the user selects the help
button, a WM_HELP message will be generated
instead of a WM_COMMAND.
- SYSCOMMAND designates a
push button as a SYSCOMMAND button. When the user selects
the help button, a WM_SYSCOMMAND message will be
generated instead of a WM_COMMAND.
- No Border draws the push
button with no border. A push button with the No Border
option will only have the text of the button drawn but
will still operate like a push button.
- No Focus prevents the
button from receiving the focus when selected. For
example, it is recommended that the help button use this
option to prevent it from receiving the focus allowing
the Help Manager to provide the appropriate Help
Panel for the control.
- Highlighted sets the
highlight state of a push button
- Icon uses an icon in
place of text within the push button
- Auto size sizes the
button such that the contents fit
- Text causes the push
button to accept text when also including a bitmap or
icon within the button
- Mini-icon causes the push
button to use a smaller sized icon when an icon image is
used within a button
- Bitmap uses a bitmap in
place of text within the push button
Base Styles
Font
& Color Tab contains only a dialog tab
Bidi Tab (only available with Warp)