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.
SBM_QUERYRANGE (1.2)
Message Group  Overview                           Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINSCROLLBARS
 
SBM_QUERYRANGE
mp1 = 0L;   /* not used, must be zero */
mp2 = 0L;   /* not used, must be zero */
 
An application sends an SBM_QUERYPOS message to get the minimum and maximum
values of a scroll bar.
 
This message does not use any parameters.
 
Return Value
 
The return value is the scroll-bar range. The low word contains the minimum
value; high word contains the maximum value.
 
See Also
 
SBM_QUERYPOS, SBM_SETPOS, SBM_SETSCROLLBAR