OWLNext 7.0
Borland's Object Windows Library for the modern age
|
Querying a selection box is one way to find out and respond to its state.
Radio buttons have two states: checked (BF_CHECKED) and unchecked (BF_UNCHECKED). Check boxes can have an additional (and optional) third state: grayed (BF_GRAYED). The following table summarizes the selection-box query member functions.
TCheckBox member functions for querying selection boxes
Member function | Description |
TCheckBox::GetCheck | Return the check state. |
TCheckBox::GetState | Return the check, highlight, or focus state. |