List of all members.
Static Public Member Functions |
static INT_PTR CALLBACK | modalDialogProc (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) |
static INT_PTR CALLBACK | modelessDialogProc (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) |
Protected Attributes |
TCHAR | ddx_buf [512] |
HWND | hWnd |
tstring | title |
int | left |
int | top |
int | width |
int | height |
Static Protected Attributes |
static BaseDialog * | modalCallback |
Constructor & Destructor Documentation
BaseDialog::BaseDialog |
( |
| ) |
|
BaseDialog::BaseDialog |
( |
HWND |
parent, |
|
|
int |
resource |
|
) |
| |
コンストラクタ
- Parameters:
-
parent | 親ウインドウハンドル |
resource | ダイアログリソース番号 |
Member Function Documentation
INT_PTR CALLBACK BaseDialog::dialogProc |
( |
HWND |
hDlg, |
|
|
UINT |
message, |
|
|
WPARAM |
wParam, |
|
|
LPARAM |
lParam |
|
) |
| |
ダイアログのダイアログプローシジャ
- Parameters:
-
hDlg | ダイアログのウインドウハンドル |
message | メッセージ |
wParam | WPARAM |
lParam | LPARAM |
- Returns:
- 処理結果
TwrWnd * BaseDialog::GetDlgItem |
( |
int |
item | ) |
|
ダイアログリソース上のウインドウを取得します。
- Parameters:
-
- Returns:
- ダイアログ上のオブジェクト
HWND BaseDialog::GetDlgItemRaw |
( |
int |
item | ) |
|
ダイアログリソース上のウインドウハンドルを取得します。
- Parameters:
-
- Returns:
- ダイアログ上のウインドウのハンドル
INT_PTR CALLBACK BaseDialog::modalDialogProc |
( |
HWND |
hDlg, |
|
|
UINT |
message, |
|
|
WPARAM |
wParam, |
|
|
LPARAM |
lParam |
|
) |
| |
|
static |
モーダルダイアログのダイアログプローシジャ
- Parameters:
-
hDlg | ダイアログのウインドウハンドル |
message | メッセージ |
wParam | WPARAM |
lParam | LPARAM |
- Returns:
- 処理結果
INT_PTR CALLBACK BaseDialog::modelessDialogProc |
( |
HWND |
hDlg, |
|
|
UINT |
message, |
|
|
WPARAM |
wParam, |
|
|
LPARAM |
lParam |
|
) |
| |
|
static |
モードレスダイアログのダイアログプローシジャ
- Parameters:
-
hDlg | ダイアログのウインドウハンドル |
message | メッセージ |
wParam | WPARAM |
lParam | LPARAM |
- Returns:
- 処理結果
INT_PTR BaseDialog::OnCommand |
( |
WPARAM |
wParam | ) |
|
|
protectedvirtual |
ダイアログ操作が行われた時に呼び出されます。
- Returns:
- 処理結果
Reimplemented in AboutDlg.
INT_PTR BaseDialog::OnInitDialog |
( |
| ) |
|
|
protectedvirtual |
INT_PTR BaseDialog::showModal |
( |
| ) |
|
モーダルダイアログを表示する。
- Returns:
- ダイアログの戻り値
HWND BaseDialog::showModeless |
( |
| ) |
|
モードレスダイアログを表示する。
- Returns:
- ダイアログの戻り値
void BaseDialog::UpdateData |
( |
bool |
toObj | ) |
|
|
virtual |
ダイアログとダイアログオブジェクトのデータの同期をとります。
- Parameters:
-
toObj | true:ダイアログの内容をオブジェクトに格納する。 false:オブジェクトの内容をダイアログに格納する。 |
The documentation for this class was generated from the following files:
- WindowSample/TWR/BaseDialog.h
- WindowSample/TWR/BaseDialog.cpp