2.6.2 CTBS

The CTBS record specifies the number of custom toolbars stored in the file and the number of available toolbar views.


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

bSignature

bVersion

reserved1

reserved2

reserved3

ctb

ctbViews

ictbView

bSignature (1 byte): An unsigned integer that specifies the toolbar set signature number. MUST be 0x01.

bVersion (1 byte): An unsigned integer that specifies the toolbar set version number. MUST be 0x01.

reserved1 (2 bytes): MUST be zero and MUST be ignored.

reserved2 (2 bytes): MUST be zero and MUST be ignored.

reserved3 (2 bytes): MUST be zero and MUST be ignored.

ctb (2 bytes): An unsigned integer that specifies the number of elements in the rCTB array of the CTBWRAPPER structure that contains this structure. The value MUST be greater than 0x0000.

ctbViews (2 bytes): An unsigned integer that specifies the number of available toolbar views. MUST be 0x0003. There are three view modes and therefore each toolbar has three available views. The view modes are shown in the following table:

View mode number

Meaning

0

Normal view

1

Full screen view

2

Web-only view<193>

ictbView (2 bytes): An unsigned integer that specifies the view mode number that the application was in at the time the file was saved. MUST be equal to 0x0000 or 0x0001.