2.6.4 TBC

The TBC record specifies a toolbar control.


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

tbch (variable)

...

tbcCmd (optional)

tbcd (variable)

...

tbch (variable): Structure of type TBCHeader, as specified in [MS-OSHARED] section 2.3.1.10, that specifies toolbar control header information.

tbcCmd (4 bytes): Structure of type TBCCmd. This field MUST only exist when tbch.tcid is not equal to 0x0001, 0x06CC (1740), 0x03D8 (984), 0x03EC (1004), or 0x1051 (4177), and the value of tbch.tct equals one of the values in the following table:

Value of tbch.tct

Meaning

0x01

Button control

0x02

Edit control

0x03

Dropdown control

0x04

ComboBox control

0x06

SplitDropDown control

0x07

OCXDropDown control

0x08

GraphicDropDown control

0x0A

Popup control

0x0C

ButtonPopup control

0x0D

SplitButtonPopup control

0x0E

SplitButtonMRUPopup control

0x0F

Label control

0x15

Pane control

tbcd (variable): Structure of type TBCData, as specified in [MS-OSHARED] section 2.3.1.13, that specifies toolbar control data. MUST exist if tbch.tct is not equal to 0x16. MUST NOT exist if tbch.tct equals 0x16.