2.3.1.13 TBCData

Toolbar control information.


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

controlGeneralInfo (variable)

...

controlSpecificInfo (variable)

...

controlGeneralInfo (variable): Structure of type TBCGeneralInfo (section 2.3.1.14) that specifies toolbar control general information.

controlSpecificInfo (variable): Toolbar control specific information is saved depending on the type of the toolbar control which is specified by the value of the tct field of the TBCHeader structure (section 2.3.1.10) contained by the structure that contains this structure. The following table shows the type of structure that is saved according to the type of the toolbar control:

Value of the tct field

Type of the controlSpecificInfo field

0x01 (Button control)

TBCBSpecific (section 2.3.1.17)

0x10 (ExpandingGrid control)

TBCBSpecific

0x0A (Popup control)

TBCMenuSpecific (section 2.3.1.21)

0x0C (ButtonPopup control)

TBCMenuSpecific

0x0D (SplitButtonPopup control)

TBCMenuSpecific

0x0E (SplitButtonMRUPopup control)

TBCMenuSpecific

0x02 (Edit control)

TBCComboDropdownSpecific (section 2.3.1.19)

0x04 (ComboBox control)

TBCComboDropdownSpecific

0x14 (GraphicCombo control)

TBCComboDropdownSpecific

0x03 (DropDown control)

TBCComboDropdownSpecific

0x06 (SplitDropDown control)

TBCComboDropdownSpecific

0x09 (GraphicDropDown control)

TBCComboDropdownSpecific

0x07 (OCXDropDown control)

controlSpecificInfo MUST NOT exist

0x0F (Label control)

controlSpecificInfo MUST NOT exist

0x12 (Grid control)

controlSpecificInfo MUST NOT exist

0x13 (Gauge control)

controlSpecificInfo MUST NOT exist

0x15 (Pane control)

controlSpecificInfo MUST NOT exist

0x16 (ActiveX control)

controlSpecificInfo MUST NOT exist