Construction
CButton | Constructs a CButton object. |
Initialization
Create | Creates the Windows button control and attaches it to the CButton object. |
Operations
GetState | Retrieves the check state, highlight state, and focus state of a button control. |
SetState | Sets the highlighting state of a button control. |
GetCheck | Retrieves the check state of a button control. |
SetCheck | Sets the check state of a button control. |
GetButtonStyle | Retrieves information about the button control style. |
SetButtonStyle | Changes the style of a button. |
GetIcon | Retrieves the handle of the icon previously set with SetIcon. |
SetIcon | Specifies an icon to be displayed on the button. |
GetBitmap | Retrieves the handle of the bitmap previously set with SetBitmap. |
SetBitmap | Specifies a bitmap to be displayed on the button. |
GetCursor | Retrieves the handle of the cursor image previously set with SetCursor. |
SetCursor | Specifies a cursor image to be displayed on the button. |
Overridables
DrawItem | Override to draw an owner-drawn CButton object. |