Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
2.3 KiB

  1. // splitter.h : custom splitter control and frame that contains it
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1995 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CSplitterFrame frame with splitter/wiper
  14. class CSplitterFrame : public CMDIChildWnd
  15. {
  16. DECLARE_DYNCREATE(CSplitterFrame)
  17. protected:
  18. CSplitterFrame(); // protected constructor used by dynamic creation
  19. // Attributes
  20. protected:
  21. CSplitterWnd m_wndSplitter;
  22. // Implementation
  23. public:
  24. virtual ~CSplitterFrame();
  25. virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
  26. // Generated message map functions
  27. //{{AFX_MSG(CSplitterFrame)
  28. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  29. //}}AFX_MSG
  30. DECLARE_MESSAGE_MAP()
  31. };
  32. class CQuerySplitterFrame : public CMDIChildWnd
  33. {
  34. DECLARE_DYNCREATE(CQuerySplitterFrame)
  35. protected:
  36. CQuerySplitterFrame(); // protected constructor used by dynamic creation
  37. // Attributes
  38. protected:
  39. CSplitterWnd m_wndSplitter;
  40. // Implementation
  41. public:
  42. virtual ~CQuerySplitterFrame();
  43. virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
  44. // Generated message map functions
  45. //{{AFX_MSG(CSplitterFrame)
  46. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  47. //}}AFX_MSG
  48. DECLARE_MESSAGE_MAP()
  49. };
  50. /////////////////////////////////////////////////////////////////////////////
  51. class C3WaySplitterFrame : public CMDIChildWnd
  52. {
  53. DECLARE_DYNCREATE(C3WaySplitterFrame)
  54. protected:
  55. C3WaySplitterFrame(); // protected constructor used by dynamic creation
  56. // Attributes
  57. protected:
  58. CSplitterWnd m_wndSplitter;
  59. CSplitterWnd m_wndSplitter2; // embedded in the first
  60. // Implementation
  61. public:
  62. virtual ~C3WaySplitterFrame();
  63. virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
  64. // Generated message map functions
  65. //{{AFX_MSG(C3WaySplitterFrame)
  66. //}}AFX_MSG
  67. DECLARE_MESSAGE_MAP()
  68. };
  69. /////////////////////////////////////////////////////////////////////////////