PushButton

PushButtonDisplay

Draw the push button and its caption

Syntax

Signature
xBool           PushButtonDisplay( PushButton *pushButton );

Arguments

pushButton the push button.

Return value

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

Description

The button uses the pressed color during activation, the enhanced color with focus, and the unselected color otherwise. Its accelerator character uses the fourth color. A marker before the accelerator is omitted from the displayed text.

The button occupies one row with a bare caption or two delimiters, and three rows with a frame. Delimiters or a frame add two columns to the displayed caption width. The cursor is placed at the start of the displayed caption.

See also