home *** CD-ROM | disk | FTP | other *** search
- /////////////////////////////////////////////////////////////////////////////
- // %1
-
- IMPLEMENT_DYNAMIC(%1, CPropertySheet)
-
- %1::%1(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage)
- :CPropertySheet(nIDCaption, pParentWnd, iSelectPage)
- {
- $$IF(OLEAUTO)
- EnableAutomation();
- $$ENDIF
- }
-
- %1::%1(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
- :CPropertySheet(pszCaption, pParentWnd, iSelectPage)
- {
- $$IF(OLEAUTO)
- EnableAutomation();
- $$ENDIF
- }
-
- %1::~%1()
- {
- }
- $$IF(OLEAUTO)
-
- void %1::OnFinalRelease()
- {
- // When the last reference for an automation object is released
- // OnFinalRelease is called. The base class will automatically
- // deletes the object. Add additional cleanup required for your
- // object before calling the base class.
-
- CPropertySheet::OnFinalRelease();
- }
- $$ENDIF
-
-
- BEGIN_MESSAGE_MAP(%1, CPropertySheet)
- //{{AFX_MSG_MAP(%1)
- // NOTE - the ClassWizard will add and remove mapping macros here.
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- $$IF(OLEAUTO)
-
- BEGIN_DISPATCH_MAP(%1, CPropertySheet)
- //{{AFX_DISPATCH_MAP(%1)
- // NOTE - the ClassWizard will add and remove mapping macros here.
- //}}AFX_DISPATCH_MAP
- END_DISPATCH_MAP()
-
- // Note: we add support for IID_I%c to support typesafe binding
- // from VBA. This IID must match the GUID that is attached to the
- // dispinterface in the .ODL file.
-
- // {%b}
- static const IID IID_I%c =
- %d;
-
- BEGIN_INTERFACE_MAP(%1, CPropertySheet)
- INTERFACE_PART(%1, IID_I%c, Dispatch)
- END_INTERFACE_MAP()
- $$ENDIF //OLEAUTO
-
- /////////////////////////////////////////////////////////////////////////////
- // %1 message handlers