home *** CD-ROM | disk | FTP | other *** search
- // Cal2Ctl.h : Declaration of the CCal2Ctrl OLE control class.
-
- /////////////////////////////////////////////////////////////////////////////
- // CCal2Ctrl : See Cal2Ctl.cpp for implementation.
-
- class CCal2Ctrl : public COleControl
- {
- DECLARE_DYNCREATE(CCal2Ctrl)
-
- // Constructor
- public:
- CCal2Ctrl();
-
- // Overrides
-
- // Drawing function
- virtual void OnDraw(
- CDC* pdc, const CRect& rcBounds, const CRect& rcInvalid);
-
- // Persistence
- virtual void DoPropExchange(CPropExchange* pPX);
-
- // Reset control state
- virtual void OnResetState();
-
- // Implementation
- protected:
- ~CCal2Ctrl();
-
- BEGIN_OLEFACTORY(CCal2Ctrl) // Class factory and guid
- virtual BOOL VerifyUserLicense();
- virtual BOOL GetLicenseKey(DWORD, BSTR FAR*);
- END_OLEFACTORY(CCal2Ctrl)
-
- DECLARE_OLETYPELIB(CCal2Ctrl) // GetTypeInfo
- DECLARE_PROPPAGEIDS(CCal2Ctrl) // Property page IDs
- DECLARE_OLECTLTYPE(CCal2Ctrl) // Type name and misc status
-
- // Message maps
- //{{AFX_MSG(CCal2Ctrl)
- // NOTE - ClassWizard will add and remove member functions here.
- // DO NOT EDIT what you see in these blocks of generated code !
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
-
- // Dispatch maps
- //{{AFX_DISPATCH(CCal2Ctrl)
- // NOTE - ClassWizard will add and remove member functions here.
- // DO NOT EDIT what you see in these blocks of generated code !
- //}}AFX_DISPATCH
- DECLARE_DISPATCH_MAP()
-
- afx_msg void AboutBox();
-
- // Event maps
- //{{AFX_EVENT(CCal2Ctrl)
- // NOTE - ClassWizard will add and remove member functions here.
- // DO NOT EDIT what you see in these blocks of generated code !
- //}}AFX_EVENT
- DECLARE_EVENT_MAP()
-
- // Dispatch and event IDs
- public:
- enum {
- //{{AFX_DISP_ID(CCal2Ctrl)
- // NOTE: ClassWizard will add and remove enumeration elements here.
- // DO NOT EDIT what you see in these blocks of generated code !
- //}}AFX_DISP_ID
- };
- };
-