Jump to content

BM QUERYHILITE

From EDM2
Revision as of 04:28, 19 April 2025 by Martini (talk | contribs) (Created page with "This message returns the highlighting state of a button control. ==Syntax== <pre> param1 ULONG ulReserved; Reserved value, should be 0.: param2 ULONG ulReserved; Reserved value, should be 0.: </pre> ==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 highlighte...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.