◄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 ♦