CheckBox

CheckBoxSetFocus

Give input focus to the check box

Syntax

Signature
xBool         CheckBoxSetFocus( CheckBox *checkBox );

Arguments

checkBox the check box.

Return value

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

Description

On gaining focus, the check box saves the cursor shape, hides the cursor, sets the focus flag and redraws itself. It then calls the focus callback if set. Repeated calls on a focused check box succeed without a focus transition.

See also