CCLicenseWizJurisdictionPage Class Reference

License wizard: Jurisdiction selection page. More...

#include <CCLicenseWizJurisdictionPage.h>

Inherits CCLicenseWizBasePage.

Collaboration diagram for CCLicenseWizJurisdictionPage:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CCLicenseWizJurisdictionPage (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).
virtual int OnWizNext ()
 Called when the user clicks the wizard's Next button.
virtual int OnWizBack ()
 Called when the user clicks the wizard's Back button.
void UpdateControls ()
 Updates the page controls according to the selection.

Detailed Description

License wizard: Jurisdiction selection page.

Definition at line 36 of file CCLicenseWizJurisdictionPage.h.


Constructor & Destructor Documentation

CCLicenseWizJurisdictionPage::CCLicenseWizJurisdictionPage ( 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 CCLicenseWizJurisdictionPage.h.


Member Function Documentation

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

Called when the page is being deactivated (hidden).

Returns:
TRUE if the user selected a jursidiction, FALSE if not

Reimplemented from CCLicenseWizBasePage.

Definition at line 158 of file CCLicenseWizJurisdictionPage.cpp.

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

BOOL CCLicenseWizJurisdictionPage::OnSetActive (  )  [protected, virtual]
int CCLicenseWizJurisdictionPage::OnWizBack (  )  [protected, virtual]

Called when the user clicks the wizard's Back button.

Returns:
The ID of the modification page (CC license) or the sampling license page (Sampling license)

Reimplemented from CCLicenseWizBasePage.

Definition at line 149 of file CCLicenseWizJurisdictionPage.cpp.

References LicenseInfo::m_eLicense, and CCLicenseWizBasePage::m_pLicenseInfo.

int CCLicenseWizJurisdictionPage::OnWizNext (  )  [protected, virtual]

Called when the user clicks the wizard's Next button.

Returns:
The ID of the summery (last) page

Reimplemented from CCLicenseWizBasePage.

Definition at line 141 of file CCLicenseWizJurisdictionPage.cpp.

BOOL CCLicenseWizJurisdictionPage::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 38 of file CCLicenseWizJurisdictionPage.cpp.

References UpdateControls().

bool CCLicenseWizJurisdictionPage::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 181 of file CCLicenseWizJurisdictionPage.cpp.

References CCPrintPropPage::PreparePage().


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

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