2.3.1.10 TBCHeader
Toolbar control header information.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bSignature |
bVersion |
bFlagsTCR |
tct |
||||||||||||||||||||||||||||
tcid |
tbct |
||||||||||||||||||||||||||||||
... |
bPriority |
width (optional) |
|||||||||||||||||||||||||||||
... |
height (optional) |
bSignature (1 byte): Signed integer that specifies the toolbar control signature number. MUST be 0x03.
bVersion (1 byte): Signed integer that specifies the toolbar control version number. MUST be 0x01.
bFlagsTCR (1 byte): Structure of type TBCFlags (section 2.3.1.11) that specifies toolbar control flags.
tct (1 byte): Unsigned integer that specifies the toolbar control type. The value MUST be in the following table:
-
Value
Toolbar control type
0x01
Button control
0x02
Edit control
0x03
DropDown control
0x04
ComboBox control
0x06
0x07
0x09
0x0A
0x0C
0x0D
0x0E
0x0F
Label control
0x10
0x12
0x13
0x14
0x15
0x16
tcid (2 bytes): Unsigned integer that specifies the toolbar control identifier (TCID) for this toolbar control. MUST be 0x0001 when the toolbar control is a custom toolbar control or MUST be equal to one of the values listed in [MS-CTDOC] section 2.2 or in [MS-CTXLS] section 2.2 when the toolbar control is not a custom toolbar control.
tbct (4 bytes): Structure of type TBCSFlags (section 2.3.1.12) that specifies toolbar control flags.
bPriority (1 byte): Unsigned integer that specifies the toolbar control priority for dropping and wrapping purposes. The value MUST be in the range 0x00 to 0x07. If the value equals 0x00, it is considered the default state. If it equals 0x01 the toolbar control will never be dropped from the toolbar and will be wrapped when needed. Otherwise, the higher the number the sooner the toolbar control will be dropped.
width (2 bytes): Unsigned integer that specifies the width, in pixels, of the toolbar control. MUST only exist if bFlagsTCR.fSaveDxy equals 1.
height (2 bytes): Unsigned integer that specifies the height, in pixels, of the toolbar control. MUST only exist if bFlagsTCR.fSaveDxy equals 1.