DERIVED CLASS FOR BUTTON CONTROLS. More...
#include <Zclass.h>
Public Member Functions | |
| void | Check (void) |
| void | Click (void) |
| bool | isChecked (void) |
| void | State (int fCheck) |
| bool | isUnchecked (void) |
| void | Uncheck (void) |
DERIVED CLASS FOR BUTTON CONTROLS.
% Provides the functionality of Windows button controls.A button control is a small,rectangular child window that can be clicked on and off. Buttons can be used alone or in groups and can either be labeled or appear without text. A button typically changes appearance when the user clicks it. Typical buttons are the check box,radio button,and pushbutton.
| void zButton::Check | ( | void | ) | [inline] |
Sets the check state of a radio button or check box to checked.
| void zButton::Click | ( | void | ) |
Simulate the user clicking the control.
| bool zButton::isChecked | ( | void | ) |
| bool zButton::isUnchecked | ( | void | ) | [inline] |
| void zButton::State | ( | int | fCheck | ) |
Sets the check state of a radio button or check box to a specified state.
| fCheck | - Specifies the check state. This parameter can be one of the following values: BST_CHECKED - Sets the button state to checked. BST_INDETERMINATE - Sets the button state to grayed, indicating an indeterminate state. BST_UNCHECKED - Sets the button state to unchecked |
| void zButton::Uncheck | ( | void | ) | [inline] |
Sets the check state of a radio button or check box to unchecked.
1.6.1