License wizard: Jurisdiction selection page. More...
#include <CCLicenseWizJurisdictionPage.h>
Inherits CCLicenseWizBasePage.
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. |
License wizard: Jurisdiction selection page.
Definition at line 36 of file CCLicenseWizJurisdictionPage.h.
CCLicenseWizJurisdictionPage::CCLicenseWizJurisdictionPage | ( | IPrintOemDriverUI * | pHelper, | |
LicenseInfo * | pInfo | |||
) | [inline] |
Constructor.
pHelper | Pointer to the Print UI Core object | |
pInfo | Pointer to the current license information structure |
Definition at line 45 of file CCLicenseWizJurisdictionPage.h.
BOOL CCLicenseWizJurisdictionPage::OnKillActive | ( | ) | [protected, virtual] |
Called when the page is being deactivated (hidden).
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] |
Called when the page is being activated (displayed).
Reimplemented from CCLicenseWizBasePage.
Definition at line 63 of file CCLicenseWizJurisdictionPage.cpp.
References CCPrintDlg::AddDlgComboString(), CCPrintDlg::CleanDlgCombo(), LicenseInfoLoader::GetLicenseXML(), LicenseInfo::HasJurisdiction(), LicenseInfo::m_cJurisdiction, LicenseInfo::m_eLicense, CCPrintDlg::m_hDlg, CCLicenseWizBasePage::m_pLicenseInfo, CCPrintDlg::SetDlgComboSel(), CCPrintDlg::SetDlgItemText(), and UpdateControls().
int CCLicenseWizJurisdictionPage::OnWizBack | ( | ) | [protected, virtual] |
Called when the user clicks the wizard's Back button.
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.
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.
uMsg | ID of the message | |
wParam | First parameter of the message | |
lParam | Second parameter of 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.
page | Reference to the property page structure to fill |
Reimplemented from CCPrintPropPage.
Definition at line 181 of file CCLicenseWizJurisdictionPage.cpp.
References CCPrintPropPage::PreparePage().