home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c480 / 19.ddi / MFC / SAMPLES / VIEWEX / SPLITTER.H_ / SPLITTER.H
Encoding:
C/C++ Source or Header  |  1993-02-08  |  1.8 KB  |  64 lines

  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 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 Microsoft
  9. // QuickHelp and/or WinHelp documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13.  
  14.  
  15. /////////////////////////////////////////////////////////////////////////////
  16. // CSplitterFrame frame with splitter/wiper
  17.  
  18. class CSplitterFrame : public CMDIChildWnd
  19. {
  20.     DECLARE_DYNCREATE(CSplitterFrame)
  21. protected:
  22.     CSplitterFrame();   // protected constructor used by dynamic creation
  23.  
  24. // Attributes
  25. protected:
  26.     CSplitterWnd m_wndSplitter;
  27.  
  28. // Implementation
  29. public:
  30.     virtual ~CSplitterFrame();
  31.     virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
  32.  
  33.     // Generated message map functions
  34.     //{{AFX_MSG(CSplitterFrame)
  35.     //}}AFX_MSG
  36.     DECLARE_MESSAGE_MAP()
  37. };
  38.  
  39. /////////////////////////////////////////////////////////////////////////////
  40.  
  41. class C3WaySplitterFrame : public CMDIChildWnd
  42. {
  43.     DECLARE_DYNCREATE(C3WaySplitterFrame)
  44. protected:
  45.     C3WaySplitterFrame();   // protected constructor used by dynamic creation
  46.  
  47. // Attributes
  48. protected:
  49.     CSplitterWnd m_wndSplitter;
  50.     CSplitterWnd m_wndSplitter2;        // embedded in the first
  51.  
  52. // Implementation
  53. public:
  54.     virtual ~C3WaySplitterFrame();
  55.     virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
  56.  
  57.     // Generated message map functions
  58.     //{{AFX_MSG(C3WaySplitterFrame)
  59.     //}}AFX_MSG
  60.     DECLARE_MESSAGE_MAP()
  61. };
  62.  
  63. /////////////////////////////////////////////////////////////////////////////
  64.