Parent class for printer UI property pages. More...
#include <CCPrintPropPage.h>
Inherits CCPrintDlg.
Inherited by CCLicenseWizBasePage, and CCPrintUIPropPage.
Public Member Functions | |
CCPrintPropPage (UINT uResourceID, struct IPrintOemDriverUI *pHelper) | |
Constructor. | |
virtual bool | PreparePage (PROPSHEETPAGE &page) |
Called to fill up the property sheet structure with information. | |
virtual int | DoModal (HWND hParent) |
Called to create the dialog - should NEVER be called for Property Page classes. | |
Protected Member Functions | |
virtual void | PostDestroy () |
Called when the page window is destroyed; deletes the object. | |
Static Protected Member Functions | |
static BOOL APIENTRY | StaticPageProc (HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) |
Called to handle page window messages. | |
Protected Attributes | |
IPrintOemDriverUI * | m_pHelper |
Pointer to the Print UI Core object. |
Parent class for printer UI property pages.
Definition at line 36 of file CCPrintPropPage.h.
CCPrintPropPage::CCPrintPropPage | ( | UINT | uResourceID, | |
struct IPrintOemDriverUI * | pHelper | |||
) |
Constructor.
uResourceID | ID of property page resource | |
pHelper | Pointer to the Print UI Core object |
Definition at line 37 of file CCPrintPropPage.cpp.
virtual int CCPrintPropPage::DoModal | ( | HWND | hParent | ) | [inline, virtual] |
Called to create the dialog - should NEVER be called for Property Page classes.
hParent | Handle to parent window |
Reimplemented from CCPrintDlg.
Definition at line 58 of file CCPrintPropPage.h.
bool CCPrintPropPage::PreparePage | ( | PROPSHEETPAGE & | page | ) | [virtual] |
Called to fill up the property sheet structure with information.
page | Reference to the property page structure to fill |
Reimplemented in CCLicenseWizJurisdictionPage, CCLicenseWizModificationPage, CCLicenseWizSamplingPage, CCLicenseWizSummeryPage, CCLicenseWizTypePage, and CCLicenseWizUsagePage.
Definition at line 45 of file CCPrintPropPage.cpp.
References ghInstance, CCPrintDlg::m_uResourceID, and StaticPageProc().
Referenced by CCLicenseWizard::DoModal(), hrOEMDocumentPropertySheets(), CCLicenseWizUsagePage::PreparePage(), CCLicenseWizTypePage::PreparePage(), CCLicenseWizSummeryPage::PreparePage(), CCLicenseWizSamplingPage::PreparePage(), CCLicenseWizModificationPage::PreparePage(), and CCLicenseWizJurisdictionPage::PreparePage().
BOOL APIENTRY CCPrintPropPage::StaticPageProc | ( | HWND | hDlg, | |
UINT | uMsg, | |||
WPARAM | wParam, | |||
LPARAM | lParam | |||
) | [static, protected] |
Called to handle page window messages.
hDlg | Handle of the page | |
uMsg | ID of the message | |
wParam | First parameter of the message | |
lParam | Second parameter of the message |
Definition at line 68 of file CCPrintPropPage.cpp.
References CCPrintDlg::m_hDlg, CCPrintDlg::SetWindowLong(), and CCPrintDlg::StaticDlgProc().
Referenced by PreparePage().