msos2.hlp (Table of Contents; 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.
SBCDATA (1.2)
Overview  Changes                                 Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINSCROLLBARS
 
typedef struct _SBCDATA {    /* sbcd */
    USHORT cb;
    USHORT sHilite;
    SHORT  posFirst;
    SHORT  posLast;
    SHORT  posThumb;
    SHORT  cVisible;
    SHORT  cTotal;
} SBCDATA;
 
The SBCDDATA structure contains information about a scroll-bar window.
 
Field     Description
────────────────────────────────────────────────────────────────────────────
 
cb        Specifies the size of the structure (in bytes). The size depends
          on the version of the operating system. Programs written in the C
          language should use the sizeof operator to set this field.
 
sHilite   Reserved, should be set to zero.
 
posFirst  Specifies the first possible position of the slider bar.
 
posLast   Specifies the last possible position of the slider bar.
 
posThumb  Specifies the current position of the slider bar.
 
cVisible  Specifies the number of items (lines in a file, rows on a
          spreadsheet, etc.) that are visible in the window.
 
cTotal    Specifies the total number of items to be displayed.
 
 
                                      ♦