Public Types | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Friends

PropSheetPageDlg Struct Reference

Property Sheet Page (inner dialog) More...

#include <window.h>

Inheritance diagram for PropSheetPageDlg:
Inheritance graph
[legend]
Collaboration diagram for PropSheetPageDlg:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

Property Sheet Page (inner dialog)

Definition at line 424 of file window.h.


Member Typedef Documentation

Reimplemented from Dialog.

Reimplemented in DesktopSettingsDlg, TaskbarSettingsDlg, StartmenuSettingsDlg, and OwnerDrawParent< PropSheetPageDlg >.

Definition at line 426 of file window.h.


Constructor & Destructor Documentation

PropSheetPageDlg::PropSheetPageDlg ( HWND  hwnd )

Definition at line 1401 of file window.cpp.

 :  super(hwnd)
{
}

Member Function Documentation

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;
}

Here is the caller graph for this function:

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
}

Here is the call graph for this function:

Here is the caller graph for this function:


Friends And Related Function Documentation

friend struct PropertySheetDialog [friend]

Definition at line 431 of file window.h.

friend struct PropSheetPage [friend]

Definition at line 432 of file window.h.


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

ROS Explorer Source Code Documentation
generated on 02.01.2013 by doxygen

ROS Explorer Homepage