Property Sheet Page (inner dialog) More...
#include <window.h>


Public Types | |
| typedef Dialog | super |
Public Member Functions | |
| PropSheetPageDlg (HWND) | |
Protected Member Functions | |
| int | Command (int id, int code) |
Static Protected Member Functions | |
| static INT_PTR CALLBACK | DialogProc (HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM lparam) |
Friends | |
| struct | PropertySheetDialog |
| struct | PropSheetPage |
Property Sheet Page (inner dialog)
Definition at line 424 of file window.h.
| typedef Dialog PropSheetPageDlg::super |
Reimplemented from Dialog.
Reimplemented in DesktopSettingsDlg, TaskbarSettingsDlg, StartmenuSettingsDlg, and OwnerDrawParent< PropSheetPageDlg >.
| PropSheetPageDlg::PropSheetPageDlg | ( | HWND | hwnd ) |
Definition at line 1401 of file window.cpp.
: super(hwnd) { }
| int PropSheetPageDlg::Command | ( | int | id, |
| int | code | ||
| ) | [protected, virtual] |
Reimplemented from Dialog.
Reimplemented in DesktopSettingsDlg, TaskbarSettingsDlg, and StartmenuSettingsDlg.
Definition at line 1446 of file window.cpp.
Referenced by DialogProc().
{
// override call to EndDialog in Dialog::Command();
return FALSE;
}

| INT_PTR CALLBACK PropSheetPageDlg::DialogProc | ( | HWND | hwnd, |
| UINT | nmsg, | ||
| WPARAM | wparam, | ||
| LPARAM | lparam | ||
| ) | [static, protected] |
Reimplemented from Window.
Definition at line 1406 of file window.cpp.
References PropSheetPage::_dlg_creator, Command(), GET_WINDOW, Window::Init(), NFR_CURRENT, Window::Notify(), and Dialog::WndProc().
Referenced by PropSheetPage::PropSheetPage().
{
PropSheetPageDlg* pThis = GET_WINDOW(PropSheetPageDlg, hwnd);
if (pThis) {
switch(nmsg) {
case WM_COMMAND:
pThis->Command(LOWORD(wparam), HIWORD(wparam));
return TRUE; // message has been processed
case WM_NOTIFY:
pThis->Notify(wparam, (NMHDR*)lparam);
return TRUE; // message has been processed
case WM_NOTIFYFORMAT:
SetWindowLong(hwnd, DWLP_MSGRESULT, NFR_CURRENT); // set return value NFR_CURRENT
return TRUE; // message has been processed
case WM_NCDESTROY:
delete pThis;
return TRUE; // message has been processed
default:
return pThis->WndProc(nmsg, wparam, lparam);
}
} else if (nmsg == WM_INITDIALOG) {
PROPSHEETPAGE* psp = (PROPSHEETPAGE*) lparam;
PropSheetPage* ppsp = (PropSheetPage*) psp->lParam;
if (ppsp->_dlg_creator) {
pThis = static_cast<PropSheetPageDlg*>(ppsp->_dlg_creator(hwnd));
if (pThis)
return pThis->Init(NULL);
}
}
return FALSE; // message has not been processed
}


friend struct PropertySheetDialog [friend] |
friend struct PropSheetPage [friend] |
|
ROS Explorer Source Code Documentation
generated on 02.01.2013 by
|