17     this->
create(X, Y, HEIGHT, WIDTH, TEXT);
    31     this->chWnd = CreateWindowExW(NULL, TEXT(
"COMBOBOX"), TEXT(
""),
    32         WS_CHILD | WS_VISIBLE | CBS_DROPDOWNLIST | CBS_AUTOHSCROLL,
    34         this->
hWnd, (HMENU)this->ID, this->
hInst, NULL);
    38     HFONT hfont = CreateFont(HEIGHT, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, TEXT(
"Arial"));
    39     SendMessage(this->chWnd, WM_SETFONT, (WPARAM)hfont, 0);
    47     memset(&buf, 0, 
sizeof(buf));
    48     wcscpy_s(buf, 
sizeof(buf) / 
sizeof(WCHAR), (WCHAR*)item);
    49     SendMessage(this->chWnd, (UINT)CB_ADDSTRING, (WPARAM)0, (LPARAM)buf);
    50     SendMessage(this->chWnd, CB_SETCURSEL, (WPARAM)0, (LPARAM)0);
    55     return ComboBox_GetCurSel(this->chWnd);
    65     DestroyWindow(GetDlgItem(this->
hWnd, this->ID));
 
HWND create(int X, int Y, int HEIGHT, int WIDTH, WCHAR *TEXT) override
 
void addItem(WCHAR *item)
 
Combobox interface class.