2.6.5 TBCCmd
The TBCCmd record specifies a command identifier for a toolbar control.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cmdID |
A |
B |
cmdType |
C |
reserved3 |
cmdID (2 bytes): A signed integer that specifies the command identifier for this toolbar control. Value MUST be in one of the tables specified in sections 2.3, 2.4, 2.5, 2.6, 2.7, and 2.8 of [MS-CTXLS].
A - fHideDrawing (1 bit): A bit that specifies whether the toolbar control is visible if it is disabled. A value of 1 specifies that the toolbar control is not visible if it is disabled. MUST only be used if cmdType equals 0x10 or 0x14. MUST be 0 if cmdType is not equal to 0x10 and is not equal to 0x14.
B - reserved1 (1 bit): MUST be zero and MUST be ignored.
cmdType (5 bits): An unsigned integer that specifies the command type for this toolbar control. Value MUST be in the following table:
Value |
Meaning |
---|---|
0x00 |
Toolbar control uses a toolbar control grid command identifier. Value of cmdType MUST be one of the values listed in [MS-CTXLS] section 2.8. |
0x01 |
Toolbar control uses a toolbar control command identifier. Value of cmdType MUST be one of the values listed in [MS-CTXLS] section 2.4. |
0x02 |
Toolbar control uses a general command identifier. Value of cmdType MUST be one of the values listed in [MS-CTXLS] section 2.3. |
0x03 |
Toolbar control uses a menu toolbar control command identifier. Value of cmdType MUST be one of the values listed in [MS-CTXLS] section 2.5. |
0x05 |
Toolbar control uses a toolbar command identifier. Value of cmdType MUST be one of the values listed in [MS-CTXLS] section 2.7. The value of the tbch.tct field of the TBC structure that contains this structure MUST be equal to one of the following values: 0x0A, 0x0C, 0x0D, or 0x0E. |
0x07 |
Toolbar control uses a menu toolbar command identifier. Value of cmdType MUST be one of the values listed in [MS-CTXLS] section 2.6. The value of the tbch.tct field of the TBC structure that contains this structure MUST be equal to one of the following values: 0x0A, 0x0C, 0x0D, or 0x0E. |
0x08 |
Toolbar control command is determined by using the value of the tbch.tcid field of the TBC structure that contains this structure. |
0x10 |
Toolbar control uses an MSODGCID specifying a drawing command, as specified in [MS-ODRAW]. |
0x14 |
Toolbar control uses an MSODGCID specifying a drawing command, as specified in [MS-ODRAW]. |
C - reserved2 (1 bit): MUST be zero and MUST be ignored.
reserved3 (8 bits): MUST be zero and MUST be ignored.