#if !defined(AFX_EXTRAPAGE_H__16823CC6_F3FB_11D2_A599_0020182B97FC__INCLUDED_) #define AFX_EXTRAPAGE_H__16823CC6_F3FB_11D2_A599_0020182B97FC__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // ExtraPage.h : header file // #include "resource.h" #include #include "../Common/PropPageHolder.h" #include using std::list; ///////////////////////////////////////////////////////////////////////////// // CExtraPage dialog class CExtraPage : public CPropertyPage { // Construction public: CExtraPage(CPropertySheet* pSheet, CComponentHolder* pComponent, CPropPageHolder* pPropPage) : CPropertyPage(IDD_WIZEXTRA), m_pComponent(pComponent), m_pPropPage(pPropPage), m_pParentSheet(pSheet) { SetHelp(true); }; ~CExtraPage() {}; BEGIN_MSG_MAP(CExtraPage) MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog) MESSAGE_HANDLER(WM_DESTROY, OnDestroy) NOTIFY_CODE_HANDLER(PSN_SETACTIVE , OnSetActive) NOTIFY_CODE_HANDLER(PSN_KILLACTIVE , OnKillActive) NOTIFY_CODE_HANDLER(PSN_HELP, OnHelp) END_MSG_MAP() // Messages public: LRESULT OnInitDialog(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled); LRESULT OnDestroy(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled); LRESULT OnSetActive(int idCtrl, LPNMHDR pnmh, BOOL& bHandled); LRESULT OnKillActive(int idCtrl, LPNMHDR pnmh, BOOL& bHandled); LRESULT OnHelp(int idCtrl, LPNMHDR pnmh, BOOL& bHandled); // Implementation protected: RECT m_rcPropPage; CPropPageHolder* m_pPropPage; CComponentHolder* m_pComponent; CPropertySheet* m_pParentSheet; }; #endif // !defined(AFX_EXTRAPAGE_H__16823CC6_F3FB_11D2_A599_0020182B97FC__INCLUDED_)