Description |
Parent class: XSettingButton
Animate |
BOOL start TRUE=start, FALSE=stop
BOOL fromBegining TRUE=display from beginning,
FALSE=display from current position
BOOL success
Start/stop to display the animation (if GB_ANIMATION is set)
GetAnimationRate |
LONG speed
Query the speed of the animation
IsAnimationActive |
BOOL result
Query if the animation is active
SetAnimationRate |
LONG rate speed
BOOL result
Set the speed of animation
XGraphicButton |
XWindow * owner | owner of the button | ||||||||
XRect * rectangle | rectangle for position/size | ||||||||
USHORT id | id of the window | ||||||||
ULONG style | style of the button:
| ||||||||
const char * title | text to display | ||||||||
SHORT bitmapCount | number of bitmap-ids in parameter bitmapList | ||||||||
SHORT * bitmapList | array of bitmap-ids to use for an animation. Bitmaps with this ids must be in the programs resources (not in DLLs). |
Construct a graphic-button. To use this control you must invoke the multimedia-library!
IsSelected |
BOOL result
Query if the button is selected
Select |
BOOL select TRUE=select, FALSE=deselect
Select/deselect the button
Toggle |
Toggles the button