GBM_ANIMATE
Appearance
This message sets the animation of an animate-able graphic button to On or Off.
Syntax
param1
[[USHORT]] [[usStart]] /* Start/stop animation. */
param2
[[USHORT]] [[usContinue]] /* Starting point of animation. */
Parameters
- usStart (USHORT)
- Start/stop animation.
- TRUE: Start animating the graphic button.
- FALSE: Stop animating the graphic button.
- usContinue (USHORT)
- Starting point of animation.
- TRUE: Animation starts with the currently shown bitmap. For example, if the graphic button is in the Down state, the animation begins with the Down bitmap and continues with subsequent bitmaps in the array until the end of the animation series. Then, the animation restarts at the beginning of the animation series (but not necessarily with the Down bitmap).
- FALSE: Animation starts at the beginning of the animation bitmap series. The start of this series can be specified by a GBM_SETBITMAPINDEX message.
Return Value
- rc (ULONG)
- Return codes indicating success or failure.
- TRUE: Success.
- FALSE: Failure or not recognized.
Remarks
This message does not have any effect if the graphic button is not of style GBS_ANIMATE or GBS_AUTOANIMATE.