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_CONTROL (1.2)
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