#if !defined(AFX_TOOLBARSINK_H__44FFA788_0801_4172_9B4B_8DF0A4700A20__INCLUDED_) #define AFX_TOOLBARSINK_H__44FFA788_0801_4172_9B4B_8DF0A4700A20__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // ToolbarSink2.h : header file // ///////////////////////////////////////////////////////////////////////////// // CToolbarSink2 command target class CMainFrame; class CToolbarSink : public CCmdTarget { DECLARE_DYNCREATE(CToolbarSink) CToolbarSink(); // protected constructor used by dynamic creation virtual ~CToolbarSink(); // Attributes public: CMainFrame *m_pMainWnd; // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CToolbarSink) virtual void OnFinalRelease(); //}}AFX_VIRTUAL // Implementation protected: afx_msg void OnToolBarButton(LPDISPATCH pButton, long nButtonID, long dwData); // Generated message map functions //{{AFX_MSG(CToolbarSink) // NOTE - the ClassWizard will add and remove member functions here. //}}AFX_MSG DECLARE_MESSAGE_MAP() DECLARE_DISPATCH_MAP() DECLARE_INTERFACE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_TOOLBARSINK_H__44FFA788_0801_4172_9B4B_8DF0A4700A20__INCLUDED_)