CButton Methods

Construction Methods

Method Description
CButton Constructs a CButton object.

Initialization Methods

Method Description
Create Creates the Windows CE button control and attaches it to the CButton object.

Operations Methods

Method Description
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.

Overridable Methods

Method Description
DrawItem Override to draw an owner-drawn CButton object.