20 T* pT = static_cast<T*>(
this);
24 m_psp.hInstance = _AtlBaseModule.GetResourceInstance();
26 m_psp.pszTitle = lpszTitle;
27 m_psp.pfnDlgProc = T::StartDialogProc;
28 m_psp.pfnCallback = T::PropPageCallback;
29 m_psp.lParam = reinterpret_cast<LPARAM>(pT);
38 T* pT = reinterpret_cast<T*>(ppsp->lParam);
44 _AtlWinModule.AddCreateWndData(&pThis->
m_thunk.
cd, pThis);
45 return pT->OnPageCreate();
157 T* pThis = static_cast<T*>(
this);
168 return pThis->OnSetActive();
170 return pThis->OnKillActive();
172 return pThis->OnApply();
180 return pThis->OnWizardBack();
182 return pThis->OnWizardNext();
184 return pThis->OnWizardFinish();
186 return pThis->OnQueryCancel();
190 return pThis->OnTranslateAccelerator((
LPMSG)
lParam);
HWND OnQueryInitialFocus(HWND hwnd)
CPropertyPageImpl(LPCTSTR lpszTitle=NULL)
static UINT CALLBACK PropPageCallback(HWND hwnd, UINT uMsg, LPPROPSHEETPAGE ppsp)
CPropertyPageImpl< T > thisClass
struct _PSP * HPROPSHEETPAGE
#define PSM_SETWIZBUTTONS
BOOL OnGetObject(LPNMOBJECTNOTIFY lpObjectNotify)
#define CreatePropertySheetPage
int OnTranslateAccelerator(LPMSG lpMsg)
#define PSN_TRANSLATEACCELERATOR
BOOL EndDialog(_In_ int nRetCode)
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
BOOL PostMessage(UINT message, WPARAM wParam=0, LPARAM lParam=0)
#define BEGIN_MSG_MAP(theClass)
#define MESSAGE_HANDLER(msg, func)
LRESULT SendMessage(UINT message, WPARAM wParam=0, LPARAM lParam=0)
CWindow GetParent() const
void SetModified(BOOL bChanged=TRUE)
#define PSN_QUERYINITIALFOCUS
void SetWizardButtons(DWORD dwFlags)
LRESULT OnNotify(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)