2.2.8.1 SpinButtonControl

Specifies the structure of the control as persisted to a stream.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

MinorVersion

MajorVersion

cbSpinButton

PropMask

DataBlock (variable)

...

ExtraDataBlock (variable)

...

StreamData (variable)

...

MinorVersion (1 byte): An unsigned integer that specifies the minor version of the control. MUST be set to 0x00.

MajorVersion (1 byte): An unsigned integer that specifies the major version of the control. MUST be set to 0x02.

cbSpinButton (2 bytes): An unsigned integer that specifies the sum of the sizes, in bytes, of PropMask, DataBlock, and ExtraDataBlock.

PropMask (4 bytes): A SpinButtonPropMask that specifies which properties of the control are not set to the file format default.

DataBlock (variable): A SpinButtonDataBlock that specifies the properties of the control that are 4 bytes or smaller and are not set to the file format defaults.

ExtraDataBlock (variable): A SpinButtonExtraDataBlock that specifies the properties of the control that are larger than 4 bytes and are not set to the file format defaults.

StreamData (variable): A SpinButtonStreamData that specifies picture properties of the control that are not set to the file format defaults.