home *** CD-ROM | disk | FTP | other *** search
/ Troubleshooting Netware Systems / CSTRIAL0196.BIN / attach / msj / v10n04 / olecont.exe / CHILDFRM.CPP next >
C/C++ Source or Header  |  1995-04-01  |  2KB  |  66 lines

  1. // childfrm.cpp : implementation of the CChildFrame class
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "contain.h"
  6.  
  7. #include "childfrm.h"
  8.  
  9. #ifdef _DEBUG
  10. #undef THIS_FILE
  11. static char BASED_CODE THIS_FILE[] = __FILE__;
  12. #endif
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CChildFrame
  16.  
  17. IMPLEMENT_DYNCREATE(CChildFrame, CMDIChildWnd)
  18.  
  19. BEGIN_MESSAGE_MAP(CChildFrame, CMDIChildWnd)
  20.     //{{AFX_MSG_MAP(CChildFrame)
  21.         // NOTE - the ClassWizard will add and remove mapping macros here.
  22.         //    DO NOT EDIT what you see in these blocks of generated code !
  23.     //}}AFX_MSG_MAP
  24. END_MESSAGE_MAP()
  25.  
  26. /////////////////////////////////////////////////////////////////////////////
  27. // CChildFrame construction/destruction
  28.  
  29. CChildFrame::CChildFrame()
  30. {
  31.     // TODO: add member initialization code here
  32.     
  33. }
  34.  
  35. CChildFrame::~CChildFrame()
  36. {
  37. }
  38.  
  39. BOOL CChildFrame::OnCreateClient( LPCREATESTRUCT /*lpcs*/,
  40.     CCreateContext* pContext)
  41. {
  42.     return m_wndSplitter.Create( this,
  43.         2, 2,                 // TODO: adjust the number of rows, columns
  44.         CSize( 10, 10 ),      // TODO: adjust the minimum pane size
  45.         pContext );
  46. }
  47.  
  48. /////////////////////////////////////////////////////////////////////////////
  49. // CChildFrame diagnostics
  50.  
  51. #ifdef _DEBUG
  52. void CChildFrame::AssertValid() const
  53. {
  54.     CMDIChildWnd::AssertValid();
  55. }
  56.  
  57. void CChildFrame::Dump(CDumpContext& dc) const
  58. {
  59.     CMDIChildWnd::Dump(dc);
  60. }
  61.  
  62. #endif //_DEBUG
  63.  
  64. /////////////////////////////////////////////////////////////////////////////
  65. // CChildFrame message handlers
  66.