zButton Class Reference

DERIVED CLASS FOR BUTTON CONTROLS. More...

#include <Zclass.h>

Inheritance diagram for zButton:
zWindow

List of all members.

Public Member Functions

void Check (void)
void Click (void)
bool isChecked (void)
void State (int fCheck)
bool isUnchecked (void)
void Uncheck (void)

Detailed Description

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.


Member Function Documentation

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   ) 
Returns:
true if the check state of a radio button or check box is set.
bool zButton::isUnchecked ( void   )  [inline]
Returns:
true if the check state of a radio button or check box is not set.
void zButton::State ( int  fCheck  ) 

Sets the check state of a radio button or check box to a specified state.

Parameters:
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.


The documentation for this class was generated from the following file:

Generated on Sun Nov 29 07:22:16 2009 for Rad.on++ by  doxygen 1.6.1