TWR
T windows api WRapper
 All Classes Functions
TwrCombobox Class Reference
Inheritance diagram for TwrCombobox:
TwrWnd

List of all members.

Public Member Functions

 TwrCombobox ()
 TwrCombobox (HWND newHwnd)
HWND create (void)
HWND create (HWND parent)
void addItem (TCHAR *item)
int getSelectedIndex (void)
void setStyle (int newStyle)
- Public Member Functions inherited from TwrWnd
 TwrWnd ()
 TwrWnd (HWND newWnd)
virtual ‾TwrWnd ()
BOOL UpdateWindow ()
BOOL ShowWindow (int nCmdShow)
void EnableWindow (BOOL enabled)
HWND getHwnd ()
void destroyWindow (void)
void setText (const TCHAR *text)
void setPoint (int x, int y)
void setSize (int w, int h)
void setFont (HFONT font)

Additional Inherited Members

- Protected Attributes inherited from TwrWnd
HWND hWnd
tstring title
int left
int top
int width
int height

Constructor & Destructor Documentation

TwrCombobox::TwrCombobox ( )

コンストラクタ

TwrCombobox::TwrCombobox ( HWND  newHwnd)

コンストラクタ

Parameters:
オブジェクトに結び付けるウインドウのハンドル

Member Function Documentation

void TwrCombobox::addItem ( TCHAR *  item)

コンボボックスに要素を追加します。

Parameters:
item追加する文字列
HWND TwrCombobox::create ( void  )

コンボボックスを作成します。

HWND TwrCombobox::create ( HWND  parent)

コンボボックスを作成します。

Parameters:
parent親ウインドウハンドル
int TwrCombobox::getSelectedIndex ( void  )

選択された要素の位置を取得します。

Returns:
-1:選択されていない -1以外:選択された場所

The documentation for this class was generated from the following files: