CCPrintPropPage Class Reference

Parent class for printer UI property pages. More...

#include <CCPrintPropPage.h>

Inherits CCPrintDlg.

Inherited by CCLicenseWizBasePage, and CCPrintUIPropPage.

Collaboration diagram for CCPrintPropPage:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

Parent class for printer UI property pages.

Definition at line 36 of file CCPrintPropPage.h.


Constructor & Destructor Documentation

CCPrintPropPage::CCPrintPropPage ( UINT  uResourceID,
struct IPrintOemDriverUI *  pHelper 
)

Constructor.

Parameters:
uResourceID ID of property page resource
pHelper Pointer to the Print UI Core object

Definition at line 37 of file CCPrintPropPage.cpp.


Member Function Documentation

virtual int CCPrintPropPage::DoModal ( HWND  hParent  )  [inline, virtual]

Called to create the dialog - should NEVER be called for Property Page classes.

Parameters:
hParent Handle to parent window
Returns:
IDCANCEL

Reimplemented from CCPrintDlg.

Definition at line 58 of file CCPrintPropPage.h.

bool CCPrintPropPage::PreparePage ( PROPSHEETPAGE &  page  )  [virtual]
BOOL APIENTRY CCPrintPropPage::StaticPageProc ( HWND  hDlg,
UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam 
) [static, protected]

Called to handle page window messages.

Parameters:
hDlg Handle of the page
uMsg ID of the message
wParam First parameter of the message
lParam Second parameter of the message
Returns:
TRUE if handled, FALSE to continue sending the message to the parent

Definition at line 68 of file CCPrintPropPage.cpp.

References CCPrintDlg::m_hDlg, CCPrintDlg::SetWindowLong(), and CCPrintDlg::StaticDlgProc().

Referenced by PreparePage().


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

Generated on Mon Jun 18 12:40:43 2012 for CC PDF Converter by doxygen 1.6.1