TWR
T windows api WRapper
 All Classes Functions
TwrWnd Class Reference

#include <TwrWnd.h>

Inheritance diagram for TwrWnd:
BaseDialog BaseForm TwrButton TwrCheckbox TwrCombobox TwrGroupBox TwrListbox TwrListView TwrProgress TwrTab TwrText

List of all members.

Public Member Functions

 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)

Protected Attributes

HWND hWnd
tstring title
int left
int top
int width
int height

Detailed Description

Tatsu's windows api WRapper
Window base class


Constructor & Destructor Documentation

TwrWnd::TwrWnd ( )

コンストラクタ

TwrWnd::TwrWnd ( HWND  newWnd)

コンストラクタ

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

Member Function Documentation

void TwrWnd::EnableWindow ( BOOL  enabled)

ウインドウの利用可能状態を変更します。

Parameters:
enabledtrue:使用可能 false:使用不可能
void TwrWnd::setFont ( HFONT  font)

ウインドウのフォントを変更します。

Parameters:
fontフォントのハンドル
void TwrWnd::setPoint ( int  x,
int  y 
)

ウインドウのタイトル文字列を変更します。

Parameters:
xx座標
yy座標
void TwrWnd::setSize ( int  w,
int  h 
)

ウインドウのサイズを変更します。

Parameters:
w
h高さ
void TwrWnd::setText ( const TCHAR *  text)

ウインドウのタイトル文字列を変更します。

Parameters:
text設定する文字列
BOOL TwrWnd::ShowWindow ( int  nCmdShow)

ウインドウの表示状態を変更します。

Returns:
変更結果
BOOL TwrWnd::UpdateWindow ( )

ウインドウを更新します。

Returns:
更新結果
TwrWnd::‾TwrWnd ( )
virtual

デストラクタ

Windowsのウインドウも破棄します。


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