Jump to content

BM QUERYHILITE: Difference between revisions

From EDM2
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..."
 
(No difference)

Latest revision as of 03:28, 19 April 2025

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.