Jump to content

BM QUERYHILITE

From EDM2

This message returns the highlighting state of a button control.

Syntax

param1
    ULONG ulReserved; /* Reserved value, should be 0. */

param2
    ULONG ulReserved; /* Reserved value, should be 0. */

Parameters

ulReserved (ULONG) - input
Reserved value, should be 0.
ulReserved (ULONG) - input
Reserved value, should be 0.

Returns

rc (BOOL) - returns
Highlight indicator.
TRUE: The button control is displayed in highlighted state.
FALSE: The button control is displayed in unhighlighted state.

Remarks

The button control responds to this message, if it has a style of BS_PUSHBUTTON, by setting rc as appropriate.

If the button has any other style, the button control takes no action other than to set rc to FALSE.

Default Processing

The default window procedure does not expect to receive this message and therefore takes no action on it, except to set rc to the default value of FALSE.