msgs12.hlp (Topic list)
BM_SETHILITE (1.2)
Message Group  Overview                           Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINBUTTONS
 
BM_SETHILITE
mp1 = MPFROMSHORT((BOOL) fHighlight);    /* highlight state        */
mp2 = 0L;                                /* not used, must be zero */
 
An application sends a BM_SETHILITE message to set the highlight state of a
button control.
 
Parameter   Description
────────────────────────────────────────────────────────────────────────────
 
fHighlight  Low word of mp1. Specifies the highlight state. A value of TRUE
            sets the highlighted state; a value of FALSE removes the
            highlighted state.
 
Return Value
 
The return value is TRUE if the previous state was highlighted or FALSE if
the previous state was not highlighted.
 
See Also
 
BM_QUERYHILITE, BM_SETCHECK, BM_SETDEFAULT