#include <C_Combo_List.h>
Public Member Functions | |
| C_Combo_List (void) | |
| The constructor. | |
| ~C_Combo_List (void) | |
| The Destructor. | |
| void | Link (HWND hwnd) |
| Associate the class to the Combo box. | |
| void | Clear (void) |
| Clear the combo box. | |
| void | ClearEdit (void) |
| Clear the edit field of the combo box. | |
| void | AddItem (char *String) |
| Add an item into the list. | |
| char * | GetText () |
| Get selected text. | |
| int | GetSelectedItem () |
| Get the index of the selected item in the droplist. | |
| void | SetPosition (int x, int y, int cx, int cy) |
| Set the position of the Combo box. | |
| void | SetSelection (char *Text) |
| Set the selected text in the combo box. | |
| void | SetSelection (int index) |
| Set The selected item in the combo box. | |
If you need to use the combo box, use this class (modify it if you need)
|
|
The constructor. Do nothing |
|
|
The Destructor. Do nothing |
|
|
Add an item into the list.
|
|
|
Clear the combo box. Erase all the item into the list and clear the edit field |
|
|
Clear the edit field of the combo box. Clear the edit but don't destroy the item list |
|
|
Get the index of the selected item in the droplist.
|
|
|
Get selected text. Return the text wich is in the Edit Field The selected text |
|
|
Associate the class to the Combo box. You MUST use Link before use any other members of the class
|
|
||||||||||||||||||||
|
Set the position of the Combo box. you must use it to get the dropdown (to set an important eigth)
|
|
|
Set The selected item in the combo box.
|
|
|
Set the selected text in the combo box. If the text is not in the list, a null string is showned
|
1.3