#include <win32_dialog.h>
|
static INT_PTR CALLBACK | DlgProc (HWND wnd, UINT msg, WPARAM wp, LPARAM lp) |
|
Definition at line 11 of file win32_dialog.h.
dialog_helper::dialog::dialog |
( |
| ) |
|
|
inlineprotected |
dialog_helper::dialog::~dialog |
( |
| ) |
|
|
inlineprotected |
dialog_helper::dialog::__declspec |
( |
deprecated |
| ) |
|
dialog_helper::dialog::__declspec |
( |
deprecated |
| ) |
|
INT_PTR CALLBACK dialog_helper::dialog::DlgProc |
( |
HWND |
wnd, |
|
|
UINT |
msg, |
|
|
WPARAM |
wp, |
|
|
LPARAM |
lp |
|
) |
| |
|
staticprivate |
Definition at line 8 of file win32_dialog.cpp.
12 if (msg==WM_INITDIALOG)
14 p_this =
reinterpret_cast<dialog*
>(lp);
16 SetWindowLongPtr(
wnd,DWLP_USER,lp);
18 if (p_this->m_is_modal) p_this->m_modal_scope.initialize(
wnd);
20 else p_this =
reinterpret_cast<dialog*
>(GetWindowLongPtr(
wnd,DWLP_USER));
22 rv = p_this ? p_this->on_message(msg,wp,lp) : FALSE;
24 if (msg==WM_DESTROY && p_this)
26 SetWindowLongPtr(
wnd,DWLP_USER,0);
typedef BOOL(WINAPI *pPowerSetRequest_t)(__in HANDLE PowerRequest
void dialog_helper::dialog::end_dialog |
( |
int |
code | ) |
|
|
protected |
HWND dialog_helper::dialog::get_wnd |
( |
| ) |
|
|
inline |
virtual BOOL dialog_helper::dialog::on_message |
( |
UINT |
msg, |
|
|
WPARAM |
wp, |
|
|
LPARAM |
lp |
|
) |
| |
|
protectedpure virtual |
bool dialog_helper::dialog::m_is_modal |
|
private |
HWND dialog_helper::dialog::parent |
HWND dialog_helper::dialog::wnd |
|
private |
The documentation for this class was generated from the following files: