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.
WM_SETSELECTION (1.2)
Message Group  Overview                           Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINMESSAGEMGR
 
WM_SETSELECTION
fSelect = (BOOL) SHORT1FROMMP(mp1);    /* TRUE for selection */
 
The WM_SETSELECTION message is sent to a window when it is selected or
deselected.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
fSelect    Low word of mp1. Specifies whether the window is being selected
           or deselected. If this parameter is TRUE, the window is being
           selected. If it is FALSE, the window is being deselected.
 
Return Value
 
An application should return zero if it processes this message.
 
See Also
 
WM_ACTIVATE, WM_FOCUSCHANGE, WM_SETFOCUS