home *** CD-ROM | disk | FTP | other *** search
/ C/C++ User's Journal & Wi…eveloper's Journal Tools / C-C__Users_Journal_and_Windows_Developers_Journal_Tools_1997.iso / stingray / gridfrms.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-10-27  |  1.4 KB  |  55 lines

  1. // gridfrms.cpp : implementation file
  2. //
  3.  
  4. // This is a part of the Objective Grid C++ Library.
  5. // Copyright (C) 1995,1996 ClassWorks, Stefan Hoenig.
  6. // All rights reserved.
  7. //
  8. // This source code is only intended as a supplement to
  9. // the Objective Grid Classes Reference and related
  10. // electronic documentation provided with the library.
  11. // See these sources for detailed information regarding
  12. // the Objective Grid product.
  13. //
  14.  
  15. #include "stdafx.h"
  16. #include "gridfrms.h"
  17.  
  18. #ifdef _DEBUG
  19. #undef THIS_FILE
  20. static char BASED_CODE THIS_FILE[] = __FILE__;
  21. #endif
  22.  
  23. IMPLEMENT_DYNCREATE(CSplitterMDIChildWnd, CMDIChildWnd)
  24.  
  25. #define new DEBUG_NEW
  26.  
  27. /////////////////////////////////////////////////////////////////////////////
  28. // CSplitterMDIChildWnd
  29.  
  30. CSplitterMDIChildWnd::CSplitterMDIChildWnd()
  31. {
  32. }
  33.  
  34. CSplitterMDIChildWnd::~CSplitterMDIChildWnd()
  35. {
  36. }
  37.  
  38. BOOL CSplitterMDIChildWnd::OnCreateClient(LPCREATESTRUCT /*lpcs*/, CCreateContext* pContext)
  39. {
  40.     return m_wndSplitter.Create(this,
  41.         2, 2,       // TODO: adjust the number of rows, columns
  42.         CSize(10, 10),  // TODO: adjust the minimum pane size
  43.         pContext);
  44. }
  45.  
  46.  
  47. BEGIN_MESSAGE_MAP(CSplitterMDIChildWnd, CMDIChildWnd)
  48.     //{{AFX_MSG_MAP(CSplitterMDIChildWnd)
  49.     //}}AFX_MSG_MAP
  50. END_MESSAGE_MAP()
  51.  
  52.  
  53. /////////////////////////////////////////////////////////////////////////////
  54. // CSplitterMDIChildWnd message handlers
  55.