The following table identifies the graphic button styles that can be specified for a graphic button to increase its functionality. A graphic button with no style bits set has an "up" state and the capability to display bitmaps, or text, or both.

ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³Style               ³Description                             ³
ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
³GBS_TWOSTATE        ³Creates a graphic button that has two   ³
³                    ³states: up and down. When the button is ³
³                    ³in the up state (drawn with its z-order ³
³                    ³above the owner), this usually indicates³
³                    ³it is selectable.  When the button is in³
³                    ³the down state (drawn with its z-order  ³
³                    ³below the owner), this usually indicates³
³                    ³an action is being processed.           ³
ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
³GBS_AUTOTWOSTATE    ³Creates a two-state graphic button that ³
³                    ³automatically toggles its state from up ³
³                    ³to down or down to up whenever the user ³
³                    ³clicks on it.  No messages from the     ³
³                    ³owner are required for the button to    ³
³                    ³toggle its state.                       ³
ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
³GBS_ANIMATION       ³Creates an animated graphic button that ³
³                    ³displays a series of bitmaps. Display of³
³                    ³the series is handled like a circular   ³
³                    ³list; after the last bitmap in the      ³
³                    ³series is displayed, the first bitmap in³
³                    ³the series is displayed, and so forth.  ³
ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
³GBS_AUTOANIMATION   ³Creates an animated graphic button that ³
³                    ³automatically toggles its animation from³
³                    ³off to on or on to off whenever the user³
³                    ³clicks on it. Usually, when the button's³
³                    ³animation is off, the button is         ³
³                    ³selectable. Conversely, when the        ³
³                    ³animation is on, an action is being     ³
³                    ³processed.                              ³
ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
³GBS_HILITEBITMAP    ³Creates a graphic button that displays a³
³                    ³different bitmap when the button is in a³
³                    ³highlighted paint state.  The           ³
³                    ³highlighted paint state occurs when the ³
³                    ³user presses the mouse button while the ³
³                    ³pointer is over the graphic button (or  ³
³                    ³the user holds the spacebar down while  ³
³                    ³the graphic button has the focus).      ³
ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
³GBS_DISABLEBITMAP   ³Creates a graphic button that displays a³
³                    ³different bitmap when the highlighted   ³
³                    ³paint state of the button is disabled.  ³
ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
³GBS_3D_TEXTRECESSED ³Creates a graphic button that has       ³
³                    ³three-dimensional text.  The text       ³
³                    ³z-order is below the face of the button.³
³                    ³The main body of the text is black, and ³
³                    ³its bottom and right edges are white.   ³
ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
³GBS_3D_TEXTRAISED   ³Creates a graphic button that has       ³
³                    ³three-dimensional text.  The text       ³
³                    ³z-order is above the face of the button.³
³                    ³The main body of the text is white, and ³
³                    ³its bottom and right edges are black.   ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
Note: Setting both GBS_3D_TEXTRECESSED and GBS_3D_TEXTRAISED is not recommended, because this can cause unpredictable behavior.


[Back] [Next]