◄Message Group► ◄Overview► ◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── #define INCL_WINMESSAGEMGR WM_CONTROL id = (USHORT) SHORT1FROMMP(mp1); /* window identifier */ usNotifyCode = (USHORT) SHORT2FROMMP(mp1); /* notification code */ usData = (ULONG) LONGFROMMP(mp2); /* control data */ The WM_CONTROL message is sent when a control window has an event to report to its owner. Parameter Description ──────────────────────────────────────────────────────────────────────────── id Low word of mp1. Identifies the control window. usNotifyCode High word of mp1. The meaning of this parameter depends on the control sending the message. usData Low and high word of mp2. Contains control-specific information. The meaning of the notification code and the control-specific information depends on the type of control. Return Value An application should return zero if it processes this message. See Also WM_COMMAND ♦