OverwriteStatus.h
上传用户:hngjqc
上传日期:2007-01-02
资源大小:25k
文件大小:1k
源码类别:

RichEdit

开发平台:

Visual C++

  1. #if !defined(AFX_OverwriteStatus_H__6BF208C3_242E_11D1_9DDF_006097773BF2__INCLUDED_)
  2. #define AFX_OverwriteStatus_H__6BF208C3_242E_11D1_9DDF_006097773BF2__INCLUDED_
  3. #if _MSC_VER >= 1000
  4. #pragma once
  5. #endif // _MSC_VER >= 1000
  6. // OverwriteStatus.h : header file
  7. //
  8. // COverwriteStatus window
  9. class COverwriteStatus : public CStatusBar
  10. {
  11. // Construction
  12. public:
  13. COverwriteStatus();
  14. // Attributes
  15. private:
  16. CImageList m_ctlImage;
  17. int m_nImageFlag;
  18. // Operations
  19. public:
  20. // Overrides
  21. // ClassWizard generated virtual function overrides
  22. //{{AFX_VIRTUAL(COverwriteStatus)
  23. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  24. //}}AFX_VIRTUAL
  25. // Implementation
  26. public:
  27. virtual ~COverwriteStatus();
  28. int GetPaneAtPosition(CPoint& point);
  29. void SetStatusBarFlag(int nFlag);
  30. void ChangeNumLock();
  31. void ChangeCapsLock();
  32. void ChangeInsert();
  33. // Generated message map functions
  34. protected:
  35. //{{AFX_MSG(COverwriteStatus)
  36. afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
  37. virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
  38. //}}AFX_MSG
  39. DECLARE_MESSAGE_MAP()
  40. };
  41. /////////////////////////////////////////////////////////////////////////////
  42. //{{AFX_INSERT_LOCATION}}
  43. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  44. #endif // !defined(AFX_OverwriteStatus_H__6BF208C3_242E_11D1_9DDF_006097773BF2__INCLUDED_)