This class provides methods for drawing a button.
| Method | Description |
|---|---|
| DrawCheckBoxandRadioStyle | Draws a button that the user can choose; for example, a button with a radio button or check box style. |
| DrawGroupBoxText | Draws the text in a group box. |
| DrawPushable | Draws a push button in a given state. Depending on the state of the button, the button either appears pressed or unpressed. |
| DrawPushStyle | Draws the style of a push button. |
| DrawText | Draws the text or focus rectangle of a button. |
| HitDetect | Determines whether a mouse click or stylus tap occurred within the rectangle for a button. |
| InitDC | Sets up a device context for drawing a button. |
| PaintGroupBox | Paints a group box. |
| PaintNonPushStyle | Draws a button that does not have the BS_PUSHBUTTON, BS_DEFPUSHBUTTON, or BS_PUSHLIKE style. |
Send Feedback on this topic to the authors