MySplitterWnd.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #if !defined(AFX_MYSPLITTERWND_H__3652275C_0E94_4F77_837E_C232C35C154E__INCLUDED_)
  2. #define AFX_MYSPLITTERWND_H__3652275C_0E94_4F77_837E_C232C35C154E__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // MySplitterWnd.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CMySplitterWnd frame with splitter
  10. #ifndef __AFXEXT_H__
  11. #include <afxext.h>
  12. #endif
  13. class CMySplitterWnd : public CSplitterWnd
  14. {
  15. DECLARE_DYNCREATE(CMySplitterWnd)
  16. public:
  17. CMySplitterWnd(); // protected constructor used by dynamic creation
  18. // Operations
  19. public:
  20. int m_cx;
  21. int m_cy;
  22. void HideSplitter();
  23. void ShowSplitter();
  24. // Overrides
  25. // ClassWizard generated virtual function overrides
  26. //{{AFX_VIRTUAL(CMySplitterWnd)
  27. protected:
  28. //}}AFX_VIRTUAL
  29. // Implementation
  30. public:
  31. virtual ~CMySplitterWnd();
  32. // Generated message map functions
  33. //{{AFX_MSG(CMySplitterWnd)
  34. // NOTE - the ClassWizard will add and remove member functions here.
  35. //}}AFX_MSG
  36. DECLARE_MESSAGE_MAP()
  37. };
  38. /////////////////////////////////////////////////////////////////////////////
  39. //{{AFX_INSERT_LOCATION}}
  40. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  41. #endif // !defined(AFX_MYSPLITTERWND_H__3652275C_0E94_4F77_837E_C232C35C154E__INCLUDED_)