CCLicenseWizUsagePage Class Reference

License Wizard: Usage page. More...

#include <CCLicenseWizUsagePage.h>

Inherits CCLicenseWizBasePage.

Collaboration diagram for CCLicenseWizUsagePage:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CCLicenseWizUsagePage (IPrintOemDriverUI *pHelper, LicenseInfo *pInfo)
 Constructor.
virtual bool PreparePage (PROPSHEETPAGE &page)
 Called to fill the wizard page structure.

Protected Member Functions

virtual BOOL PageProc (UINT uMsg, WPARAM wParam, LPARAM lParam)
 Called when a windows message is sent to the page.
virtual BOOL OnSetActive ()
 Called when the page is being activated (displayed).
virtual BOOL OnKillActive ()
 Called when the page is being deactivated (hidden).
void UpdateControls ()
 Updates the page controls according to the selection.

Detailed Description

License Wizard: Usage page.

Definition at line 36 of file CCLicenseWizUsagePage.h.


Constructor & Destructor Documentation

CCLicenseWizUsagePage::CCLicenseWizUsagePage ( IPrintOemDriverUI *  pHelper,
LicenseInfo pInfo 
) [inline]

Constructor.

Parameters:
pHelper Pointer to the Print UI Core object
pInfo Pointer to the current license information structure

Definition at line 45 of file CCLicenseWizUsagePage.h.


Member Function Documentation

BOOL CCLicenseWizUsagePage::OnKillActive (  )  [protected, virtual]

Called when the page is being deactivated (hidden).

Returns:
TRUE if the user has selected a usage type, FALSE if not

Reimplemented from CCLicenseWizBasePage.

Definition at line 80 of file CCLicenseWizUsagePage.cpp.

References CCPrintDlg::GetCheckedRadioBtn(), LicenseInfo::m_bCommercialUse, and CCLicenseWizBasePage::m_pLicenseInfo.

BOOL CCLicenseWizUsagePage::OnSetActive (  )  [protected, virtual]

Called when the page is being activated (displayed).

Returns:
TRUE

Reimplemented from CCLicenseWizBasePage.

Definition at line 66 of file CCLicenseWizUsagePage.cpp.

References LicenseInfo::m_bCommercialUse, CCPrintDlg::m_hDlg, CCLicenseWizBasePage::m_pLicenseInfo, and UpdateControls().

BOOL CCLicenseWizUsagePage::PageProc ( UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam 
) [protected, virtual]

Called when a windows message is sent to the page.

Parameters:
uMsg ID of the message
wParam First parameter of the message
lParam Second parameter of the message
Returns:
TRUE if handled, FALSE to continue handling the message

Reimplemented from CCLicenseWizBasePage.

Definition at line 36 of file CCLicenseWizUsagePage.cpp.

References CCLicenseWizBasePage::SetDescriptionFromField(), and UpdateControls().

bool CCLicenseWizUsagePage::PreparePage ( PROPSHEETPAGE &  page  )  [virtual]

Called to fill the wizard page structure.

Parameters:
page Reference to the property page structure to fill
Returns:
true if the structure was filled succesfully, false otherwise

Reimplemented from CCPrintPropPage.

Definition at line 109 of file CCLicenseWizUsagePage.cpp.

References CCPrintPropPage::PreparePage().


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

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