home *** CD-ROM | disk | FTP | other *** search
- // Lst43Ctl.h : Declaration of the CLst43Ctrl OLE control class.
-
- /////////////////////////////////////////////////////////////////////////////
- // CLst43Ctrl : See Lst43Ctl.cpp for implementation.
-
- class CLst43Ctrl : public COleControl
- {
- DECLARE_DYNCREATE(CLst43Ctrl)
-
- // Constructor
- public:
- CLst43Ctrl();
-
- // 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:
- ~CLst43Ctrl();
-
- DECLARE_OLECREATE_EX(CLst43Ctrl) // Class factory and guid
- DECLARE_OLETYPELIB(CLst43Ctrl) // GetTypeInfo
- DECLARE_PROPPAGEIDS(CLst43Ctrl) // Property page IDs
- DECLARE_OLECTLTYPE(CLst43Ctrl) // Type name and misc status
-
- // Message maps
- //{{AFX_MSG(CLst43Ctrl)
- // 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(CLst43Ctrl)
- afx_msg BSTR GetMachineName();
- //}}AFX_DISPATCH
- DECLARE_DISPATCH_MAP()
-
- afx_msg void AboutBox();
-
- // Event maps
- //{{AFX_EVENT(CLst43Ctrl)
- //}}AFX_EVENT
- DECLARE_EVENT_MAP()
-
- // Dispatch and event IDs
- public:
- enum {
- //{{AFX_DISP_ID(CLst43Ctrl)
- dispidGetMachineName = 1L,
- //}}AFX_DISP_ID
- };
-
- private:
- BOOL IsInvokeAllowed(DISPID dispid);
-
- };
-