Listbox styleΒΆ
style = flags
The following flags are currently available:
Create invisible. |
|
Stop listbox from receiving input focus. |
|
Create disabled. |
|
Only allow the listbox to receive input focus if the user clicks on it. |
|
WS_COMPACT |
Reduces the height of a LIST_BUTTON or LIST_EDIT listbox by two pixels. The default height is several pixels greater than a textbox. Using this flag makes a listbox close to the same height as a textbox, which can improve the appearance of screen layouts. Note however that with some data fonts this clips the descenders on lower case characters. |
WS_CJT |
Centre the listbox label. This is the default. |
WS_RJT |
Right justify the listbox label. |
WS_LJT |
Left justify the listbox label. |
Default: No flags set.
EXAMPLE
style = WS_INVISIBLE | WS_DISABLED
RELATED TOPICS |