|
My Project
|
Combobox interface class Provide interface for creating/removing/updating combobox. More...
#include "interface/combobox.h"


Public Member Functions | |
| Combobox () | |
| Combobox (int ID) | |
| Combobox (int X, int Y, int HEIGHT, int WIDTH, WCHAR *TEXT=NULL) | |
| ~Combobox () | |
| HWND | create (int X, int Y, int HEIGHT, int WIDTH, WCHAR *TEXT) override |
| void | addItem (WCHAR *item) |
| int | getCurrentItem () |
| HWND | getHWND () |
| void | remove () override |
Public Member Functions inherited from BaseInterfaceCtrl | |
| BaseInterfaceCtrl () | |
| BaseInterfaceCtrl (HWND hWnd, HINSTANCE hInst) | |
| ~BaseInterfaceCtrl () | |
Additional Inherited Members | |
Static Protected Attributes inherited from BaseInterfaceCtrl | |
| static HWND | hWnd |
| static HINSTANCE | hInst |
Combobox interface class Provide interface for creating/removing/updating combobox.
Definition at line 24 of file combobox.h.
| Combobox::Combobox | ( | ) |
Empty constructor. No action.
Definition at line 5 of file combobox.cpp.
| Combobox::Combobox | ( | int | ID | ) |
Constructor sets ID in 'id' variable
| [in] | ID | Unique identify of combobox |
Definition at line 10 of file combobox.cpp.
| Combobox::Combobox | ( | int | X, |
| int | Y, | ||
| int | HEIGHT, | ||
| int | WIDTH, | ||
| WCHAR * | TEXT = NULL |
||
| ) |
Constructor create and display combobox
| [in] | X | X coordinate |
| [in] | Y | Y coordinate |
| [in] | HEIGHT | Height of the window |
| [in] | WIDTH | Width of the window |
| [in] | TEXT | Text which is displaying on element |
Definition at line 15 of file combobox.cpp.

| Combobox::~Combobox | ( | ) |
Destructor. Removes button (Does not free memory)
Definition at line 20 of file combobox.cpp.
| void Combobox::addItem | ( | WCHAR * | item | ) |
|
overridevirtual |
Create and display combobox
| [in] | X | X coordinate |
| [in] | Y | Y coordinate |
| [in] | HEIGHT | Height of the window |
| [in] | WIDTH | Width of the window |
| [in] | TEXT | Text which is displaying on element |
Implements BaseInterfaceCtrl.
Definition at line 25 of file combobox.cpp.


| int Combobox::getCurrentItem | ( | ) |
| HWND Combobox::getHWND | ( | ) |
Definition at line 58 of file combobox.cpp.
|
overridevirtual |
Removes combobox (Does not free memory)
Implements BaseInterfaceCtrl.
Definition at line 63 of file combobox.cpp.
1.8.12