Scroll Bar Styles

OS/2 Windows Explanation
SBS_AUTOTRACK - Causes the entire slider to track the movement of the mouse pointer when the user scrolls the window. When this style is not used, the slider is shown in outline when moved by the mouse; the slider jumps to its new location when the user releases the mouse button
SBS_AUTOSIZE - Allows automatic sizing of the scroll bar based on its element count.
SBS_HORZ SBS_HORZ Creates a horizontal scroll bar.
SBS_THUMBSIZE - Calculates the size of the scroll bar slider. It is used in conjunction with the SBCDATA structure.
SBS_VERT SBS_VERT Creates a vertical scroll bar.
- SBS_BOTTOMALIGN Used in combination with SBS_HORZ to align the bottom edge of the scroll with the bottom edge of the rectangle specified through the x, y, cx, and cy values given in the CreateWindow function. The scroll bar will have the default height for system scroll bars.
- SBS_LEFTALIGN Used in combination with SBS_HORZ to align the left edge of the scroll with the left edge of the rectangle specified through the x, y, cx, and cy values given in the CreateWindow function. The scroll bar will have the default width for system scroll bars.
- SBS_RIGHTALIGN Used in combination with SBS_HORZ to align the right edge of the scroll with the right edge of the rectangle specified through the x, y, cx, and cy values given in the CreateWindow function. The scroll bar will have the default width for system scroll bars.
- SBS_SIZEBOX Creates a size box. If used in conjunction with SBS_SIZEBOXTOPLEFTALIGN or SBS_SIZEBOXBOTTOMRIGHTALIGN, the size box is created either in the top left or bottom right corners of the window using the size specified through the cx and cy values within the rectangle specified by the x and y values specified in the CreateWindow function. If not used in conjunction with either style, the size box is created in the location and size specified through the x, y, cx and cy values given in the CreateWindow function.
- SBS_SIZEBOXBOTTOMRIGHTALIGN Creates a size box aligned with the bottom right corner of the rectangle specified in the x and y values given in the CreateWindow function. The system size box size is used for the size box.
- SBS_SIZEBOXTOPLEFTALIGN Creates a size box aligned with the bottom right corner of the rectangle specified in the x and y values given in the CreateWindow function. The system size box size is used for the size box.
- SBS_TOPALIGN Used in combination with SBS_HORZ to align the top edge of the scroll with the top edge of the rectangle specified through the x, y, cx, and cy values given in the CreateWindow function. The scroll bar will have the default height for system scroll bars.


OS/2 - Windows Styles Definitions: Detailed Descriptions
OS/2 - Windows Styles Definitions: Summary