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.
LN_SETFOCUS (1.2)
Notification Group  Overview                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINLISTBOXES
 
WM_CONTROL
id = (USHORT) SHORT1FROMMP(mp1);  /* control-window ID */
usNotifyCode = LN_SETFOCUS;
 
The LN_SETFOCUS notification message is sent when a list box receives
focus.
 
Parameter     Description
────────────────────────────────────────────────────────────────────────────
 
id            Low word of mp1. Identifies the control window.
 
usNotifyCode  High word of mp1. Set to LN_SETFOCUS.
 
See Also
 
LN_KILLFOCUS, WM_CONTROL