class MASKING_DLL_DECLSPEC ComboBox
The ComboBox widget.
Inheritance:
Public Fields
-
ComboEditBox editBox
- The underlaying edit box widget
-
ComboButton button
- The underlaying button with the little arrow for showing the list
-
ListBox list
- The underlaying listbox object
Public Methods
-
void HandleEvent(Widget& obj, int msg, int arg1=0, int arg2=0)
- Handles events such as button clicks and list box clicks
-
void Setup(int x, int y, int w, int h, int key, int flags, int i)
- Shortcut for Widget::Setup() and listSelect(i)
Protected Methods
-
void MsgInitSkin()
- Initilizes the combo box with the default bitmaps, fonts and font colours as defined by the skin
-
void UpdateSize()
- Resizes and repositions all the child widgets when the combobox itself is resized
-
void HideList()
- Helper function for hiding the list in the combobox
-
void ShowList()
- Helper function for showing the list in the combobox
Documentation
The ComboBox widget.
A ComboBox is a compound widget made out of an edit box, a button and
a listbox. By default the listbox is hidden but if the button is pressed
the listbox is shown. When a listbox item is double clicked the combobox
sends a MSG_ACTIVATE message to the parent dialog with the index of the
selected item as the first argument.
ComboEditBox editBox
-
The underlaying edit box widget
ComboButton button
-
The underlaying button with the little arrow for showing the list
ListBox list
-
The underlaying listbox object
void MsgInitSkin()
-
Initilizes the combo box with the default bitmaps, fonts and font colours as defined by the skin
void UpdateSize()
-
Resizes and repositions all the child widgets when the combobox itself is resized
void HideList()
-
Helper function for hiding the list in the combobox
void ShowList()
-
Helper function for showing the list in the combobox
void HandleEvent(Widget& obj, int msg, int arg1=0, int arg2=0)
-
Handles events such as button clicks and list box clicks
void Setup(int x, int y, int w, int h, int key, int flags, int i)
-
Shortcut for Widget::Setup() and listSelect(i)
- This class has no child classes.
Alphabetic index Hierarchy of classes
Back to front page
|
page generated with DOC++