00001 #if !defined(AFX_MTOOLBAR_H__31B80AF5_2258_4296_BCC3_14C8935ED785__INCLUDED_)
00002 #define AFX_MTOOLBAR_H__31B80AF5_2258_4296_BCC3_14C8935ED785__INCLUDED_
00003
00004 #if _MSC_VER > 1000
00005 #pragma once
00006 #endif // _MSC_VER > 1000
00007
00008
00009
00011
00012
00013 class CControlsToolBar : public CToolBar
00014 {
00015
00016 public:
00017 CControlsToolBar();
00018
00019
00020 public:
00021 int m_iLastPressedButton;
00022 LPTBBUTTON m_lpButton;
00023
00024
00025 public:
00026
00027
00028 bool m_bLButton;
00029
00030
00031
00032
00033
00034
00035
00036 public:
00037 virtual ~CControlsToolBar();
00038
00039
00040 protected:
00041
00042 afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
00043 afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
00044 afx_msg void OnMouseMove(UINT nFlags, CPoint point);
00045
00046
00047 DECLARE_MESSAGE_MAP()
00048 };
00049
00051
00052
00053
00054
00055 #endif // !defined(AFX_MTOOLBAR_H__31B80AF5_2258_4296_BCC3_14C8935ED785__INCLUDED_)