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.
EN_SCROLL (1.2)
Notification Group  Overview                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINENTRYFIELDS
 
EN_SCROLL
id = (USHORT) SHORT1FROMMP(mp1);    /* control-window ID            */
usNotifyCode = EN_SCROLL;
hwndEdit = HWNDFROMMP(mp2);         /* window handle of entry field */
 
The EN_SCROLL notification message is sent to the owner of the entry-field
window when a scroll-bar event occurs.
 
Parameter     Description
────────────────────────────────────────────────────────────────────────────
 
id            Low word of mp1. Identifies the control window.
 
usNotifyCode  High word of mp1. Set to EN_SCROLL.
 
hwndEdit      Low and high word of mp2. Identifies the entry-field window.
 
Return Value
 
An application should return zero if it processes this message.
 
See Also
 
WM_CONTROL