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.
MLN_HSCROLL (1.2)
Notification Group  Overview                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINMLE
 
WM_CONTROL
id = (USHORT) SHORT1FROMMP(mp1);      /* scroll-bar window ID */
usNotifyCode = MLN_HSCROLL;
sPos = (USHORT) SHORT1FROMMP(mp2);    /* slider position      */
 
The MLN_HSCROLL notification message is sent to the owner of the
multiple-line entry field (MLE) window when a horizontal scroll event
occurs.
 
Parameter     Description
────────────────────────────────────────────────────────────────────────────
 
id            Low word of mp1. Identifies the MLE window.
 
usNotifyCode  High word of mp1. Set to MLN_HSCROLL.
 
sPos          Low word of mp2. Specifies the number of pels of text
              (nonvisible) to the left of the window.
 
Return Value
 
An application should return zero if it processes this message.
 
See Also
 
MLN_VSCROLL, WM_CONTROL