InfobarCtrl.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. #if !defined(AFX_INFOBARCTRL_H__4CCD6BDB_9694_47EC_A643_42A2CEBF62DF__INCLUDED_)
  2. #define AFX_INFOBARCTRL_H__4CCD6BDB_9694_47EC_A643_42A2CEBF62DF__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // InfobarCtrl.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CInfobarCtrl window
  10. class CInfobarCtrl : public CStatic
  11. {
  12. // Construction
  13. public:
  14. CInfobarCtrl();
  15. // Attributes
  16. public:
  17. // Operations
  18. public:
  19. // Overrides
  20. // ClassWizard generated virtual function overrides
  21. //{{AFX_VIRTUAL(CInfobarCtrl)
  22. protected:
  23. virtual void PreSubclassWindow();
  24. //}}AFX_VIRTUAL
  25. // Implementation
  26. public:
  27. void SetText(LPCTSTR lpszText);
  28. virtual ~CInfobarCtrl();
  29. // Generated message map functions
  30. protected:
  31. CFont m_TextFont;
  32. CRect m_rcButton;
  33. BOOL m_bMouseDown;
  34. int m_bMouseInButton;
  35. CString m_strText;
  36. //{{AFX_MSG(CInfobarCtrl)
  37. afx_msg void OnPaint();
  38. afx_msg void OnMouseMove(UINT nFlags, CPoint point);
  39. afx_msg void OnTimer(UINT nIDEvent);
  40. afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
  41. afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
  42. //}}AFX_MSG
  43. DECLARE_MESSAGE_MAP()
  44. };
  45. /////////////////////////////////////////////////////////////////////////////
  46. //{{AFX_INSERT_LOCATION}}
  47. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  48. #endif // !defined(AFX_INFOBARCTRL_H__4CCD6BDB_9694_47EC_A643_42A2CEBF62DF__INCLUDED_)