2.5.154 FtSbs
The FtSbs structure specifies the properties of the scrollable control represented by the Obj record that contains this FtSbs.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ft |
cb |
||||||||||||||||||||||||||||||
unused1 |
|||||||||||||||||||||||||||||||
iVal |
iMin |
||||||||||||||||||||||||||||||
iMax |
dInc |
||||||||||||||||||||||||||||||
dPage |
fHoriz |
||||||||||||||||||||||||||||||
dxScroll |
A |
B |
C |
D |
unused2 |
ft (2 bytes): Reserved. MUST be 0x000C.
cb (2 bytes): Reserved. MUST be 0x0014.
unused1 (4 bytes): Undefined and MUST be ignored.
iVal (2 bytes): A signed integer that specifies the current value of the control. This value MUST be greater than or equal to iMin. This value MUST be less than or equal to iMax.
iMin (2 bytes): A signed integer that specifies the minimum allowable value of the control.
iMax (2 bytes): A signed integer that specifies the maximum allowable value of the control. This value MUST be greater than or equal to iMin.
dInc (2 bytes): A signed integer that specifies the amount by which the control’s value is changed when the user clicks on one of the control’s minor increment regions. MUST be greater than or equal to 0x0000.
dPage (2 bytes): A signed integer that specifies the amount by which the control’s value is changed when the user clicks on the scrollbar’s page up or page down region. MUST be greater than or equal to 0x0000.
fHoriz (2 bytes): A Boolean (section 2.5.14) that specifies whether this control scrolls horizontally or vertically. MUST be a value from the following table:
|
|
---|---|
0x0000 |
Vertical scrolling |
0x0001 |
Horizontal scrolling |
dxScroll (2 bytes): A signed integer that specifies the width in pixels of the scrollbar. MUST be greater than or equal to 0x0000.
A - fDraw (1 bit): A bit that specifies whether this control is expected to be displayed.
B - fDrawSliderOnly (1 bit): A bit that specifies whether only the slider portion of this control is expected to be displayed.
C - fTrackElevator (1 bit): A bit that specifies whether the control is expected to interactively track a mouse drag of the control’s scroll thumb (aka elevator).
D - fNo3d (1 bit): A bit that specifies whether the control is expected to be displayed without three-dimensional effects.
unused2 (12 bits): Undefined and MUST be ignored.