License Wizard: License Type page. More...
#include <CCLicenseWizTypePage.h>
Inherits CCLicenseWizBasePage.
Public Member Functions | |
CCLicenseWizTypePage (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. | |
void | SetDescription (int nSelected) |
Sets the license description based on the selected item. |
License Wizard: License Type page.
Definition at line 36 of file CCLicenseWizTypePage.h.
CCLicenseWizTypePage::CCLicenseWizTypePage | ( | 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 CCLicenseWizTypePage.h.
BOOL CCLicenseWizTypePage::OnKillActive | ( | ) | [protected, virtual] |
Called when the page is being deactivated (hidden).
Reimplemented from CCLicenseWizBasePage.
Definition at line 105 of file CCLicenseWizTypePage.cpp.
References LoadResourceString(), LicenseInfo::m_eLicense, CCPrintDlg::m_hDlg, CCLicenseWizBasePage::m_pLicenseInfo, CCPrintDlg::MessageBox(), LicenseInfoLoader::RequestLicenseType(), and tstring.
BOOL CCLicenseWizTypePage::OnSetActive | ( | ) | [protected, virtual] |
Called when the page is being activated (displayed).
Reimplemented from CCLicenseWizBasePage.
Definition at line 80 of file CCLicenseWizTypePage.cpp.
References CCPrintDlg::GetDlgItem(), LicenseInfo::m_eLicense, CCPrintDlg::m_hDlg, CCLicenseWizBasePage::m_pLicenseInfo, SetDescription(), and CCLicenseWizBasePage::SetWizardButtons().
int CCLicenseWizTypePage::OnWizNext | ( | ) | [protected, virtual] |
Called when the user clicks the wizard's Next button.
Reimplemented from CCLicenseWizBasePage.
Definition at line 150 of file CCLicenseWizTypePage.cpp.
References LicenseInfo::m_eLicense, and CCLicenseWizBasePage::m_pLicenseInfo.
BOOL CCLicenseWizTypePage::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 CCLicenseWizTypePage.cpp.
References CCPrintDlg::GetCheckedRadioBtn(), CCPrintDlg::GetDlgItem(), LicenseInfo::m_eLicense, CCLicenseWizBasePage::m_pLicenseInfo, SetDescription(), and CCLicenseWizBasePage::SetWizardButtons().
bool CCLicenseWizTypePage::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 172 of file CCLicenseWizTypePage.cpp.
References CCPrintPropPage::PreparePage().
void CCLicenseWizTypePage::SetDescription | ( | int | nSelected | ) | [protected] |
Sets the license description based on the selected item.
nSelected | The selected license |
Definition at line 137 of file CCLicenseWizTypePage.cpp.
References LoadResourceString(), and CCPrintDlg::SetDlgItemText().
Referenced by OnSetActive(), and PageProc().