2.5.171 LbsDropData

The LbsDropData structure specifies properties of the dropdown Obj that contains this LbsDropData.


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

A

B

C

unused2

cLine

dxMin

str (variable)

...

unused3 (optional)

A - wStyle (2 bits): An unsigned integer that specifies the style of this dropdown. MUST be a value from the following table:

Value

Meaning

0

Combo dropdown control

1

Combo Edit dropdown control

2

Simple dropdown control (just the dropdown button)

B - unused1 (1 bit):  Undefined and MUST be ignored.

C - fFiltered (1 bit): A bit that specifies whether the data displayed by the dropdown has been filtered in some way.

unused2 (12 bits):  Undefined and MUST be ignored.

cLine (2 bytes): An unsigned integer that specifies the number of lines to be displayed in the dropdown. If there are more lines than that in the list, a scrollbar can appear. MUST be less than or equal to 0x7FFF.

dxMin (2 bytes): An unsigned integer that specifies the smallest width in pixels allowed for the dropdown window. MUST be less than or equal to 0x7FFF.

str (variable): An XLUnicodeString that specifies the current string value in the dropdown.

unused3 (1 byte): Optional, undefined and MUST be ignored. This field MUST exist if and only if the size of str in bytes is an odd number.