OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
Querying Selection Boxes

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 functionDescription
TCheckBox::GetCheckReturn the check state.
TCheckBox::GetStateReturn the check, highlight, or focus state.

See Also