2.6.4 TBC
The TBC record specifies a toolbar control.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 |
|
0x07 |
|
0x08 |
|
0x0A |
|
0x0C |
|
0x0D |
|
0x0E |
|
0x0F |
Label control |
0x15 |
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.