git-svn-id: file:///H/repositry/noTahoma/noMeiryoUI/trunk@130 2be31de6-1b40-1d45-9c1f-7f81fcd71ed7
33 lines
649 B
C++
33 lines
649 B
C++
/*
|
|
noMeiryoUI (C) 2005,2012,2013 Tatsuhiko Shoji
|
|
The sources for noMeiryoUI are distributed under the MIT open source license
|
|
*/
|
|
#ifndef TWRCOMBOBOX_H
|
|
#define TWRCOMBOBOX_H
|
|
|
|
#include "TwrWnd.h"
|
|
|
|
class TwrCombobox : public TwrWnd {
|
|
private:
|
|
int style;
|
|
public:
|
|
TwrCombobox();
|
|
TwrCombobox(HWND newHwnd);
|
|
|
|
HWND create(void);
|
|
HWND create(HWND parent);
|
|
void addItem(const TCHAR *item);
|
|
int getSelectedIndex(void);
|
|
int getCount(void);
|
|
tstring getItem(int index);
|
|
void setStyle(int newStyle) {
|
|
style = newStyle;
|
|
}
|
|
void clear(void);
|
|
void setSelectedIndex(int index);
|
|
tstring getSelectedText(void);
|
|
|
|
};
|
|
|
|
#endif
|