2.3.1.20 TBCCDData

Referenced by: TBCComboDropdownSpecific

Contains information specific to Edit, ComboBox, GraphicCombo, DropDown, SplitDropDown, and GraphicDropDown type toolbar controls.


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

cwstrItems

wstrList (variable)

...

cwstrMRU

iSel

cLines

dxWidth

wstrEdit (variable)

...

cwstrItems (2 bytes): Signed integer that specifies the number of items in wstrList. MUST be positive.

wstrList (variable): Zero-based index array of WString structures (section 2.3.1.4). The number of elements MUST be equal to cwstrItems. Contains the list of strings that are dropped by this toolbar control.

cwstrMRU (2 bytes): Signed integer that specifies the number of most recently used strings. MUST be equal to 0xFFFF (-1) or greater than or equal to 0x0000. A value of 0xFFFF (-1) means that there are no most recently used strings.

iSel (2 bytes): Signed integer that specifies the zero-based index of the selected item in the wstrList field. MUST be equal to 0xFFFF (-1) or greater than or equal to 0x0000. A value of 0xFFFF (-1) means that there is no selected item. MUST be less than the cwstrItems value.

cLines (2 bytes): Signed integer that specifies the suggested number of lines that the toolbar control will display at any time when displaying the elements of wstrList. A value of 0x0000 means that the toolbar control will size itself according to the number of items. MUST equal to or greater than 0x0000.

dxWidth (2 bytes): Signed integer that specifies the width in pixels that the interior of the drop-down has. This excludes the width of the toolbar control border and scroll bar. MUST be equal to 0xFFFF (-1) or greater than or equal to 0x0000. A value of 0xFFFF (-1) will set the width to accommodate all the strings in wstrList.

wstrEdit (variable): Structure of type WString (section 2.3.1.4). Editable text for editable area of the ComboBox toolbar control.