CheckBox

CheckBoxDisplay

Draw the check box and its caption

Syntax

Signature
xBool         CheckBoxDisplay( CheckBox *checkBox );

Arguments

checkBox the check box.

Return value

T on success, or F if the object is NULL.

Description

The box occupies three cells. Its delimiters use the third color and the mark uses the first or second color according to input focus. Without focus, the caption uses the third color and its accelerator uses the fourth. With focus, the entire caption uses the fourth color.

The caption is drawn at its own coordinates. The accelerator marker is removed from the displayed caption. The cursor is placed on the middle cell of the box at `row, col + 1`.

See also