The following table describes the graphic button control messages that can be used by a graphic button window procedure to manipulate a graphic button:
ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³Control Message ³Description ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³GBM_SETGRAPHICDATA ³Sets the graphical data ³ ³ ³(graphic button text, bitmaps)³ ³ ³for a graphic button and ³ ³ ³erases all previous data ³ ³ ³relating to the state of the ³ ³ ³button. ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³GBM_ANIMATE ³Sets the animation of an ³ ³ ³animated graphic button to ³ ³ ³start or stop at the first ³ ³ ³bitmap in the series or at a ³ ³ ³bitmap within the series. ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³GBM_QUERYANIMATIONACTIVE ³Gets the animation state of an³ ³ ³animated graphic button. ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³GBM_SETANIMATIONRATE ³Sets, in milliseconds, the ³ ³ ³period between bitmap updates ³ ³ ³for an animated graphic ³ ³ ³button. ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³GBM_QUERYANIMATIONRATE ³Gets the animation rate that ³ ³ ³is set for an animated graphic³ ³ ³button. ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³GBM_SETSTATE ³Sets a two-state graphic ³ ³ ³button to up or down, or ³ ³ ³toggles its state. ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³GBM_QUERYSTATE ³Gets the state of a graphic ³ ³ ³button. ³ ³ ³Note: For a graphic button ³ ³ ³that does not have a two-state³ ³ ³style, its state is always ³ ³ ³considered to be "up." ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³GBM_SETBITMAPINDEX ³Sets the bitmap index to use ³ ³ ³for the various states of the ³ ³ ³graphic button; up, down, ³ ³ ³highlighted, not highlighted, ³ ³ ³beginning of animation series,³ ³ ³end of animation series, ³ ³ ³current state (refers to ³ ³ ³either the up or down bitmap).³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³GBM_QUERYBITMAPINDEX ³Gets the bitmap index used for³ ³ ³a particular button state. ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³GBM_SETTEXTPOSITION ³Sets graphic button text ³ ³ ³position above or below the ³ ³ ³bitmap. ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³GBM_QUERYTEXTPOSITION ³Gets graphic button text ³ ³ ³position relative to the ³ ³ ³bitmap. ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ