msgs12.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
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