home *** CD-ROM | disk | FTP | other *** search
/ ftp.funduc.com / 2014.08.ftp.funduc.com.tar / ftp.funduc.com / fshedcode-072212.zip / ChildFrm.cpp < prev    next >
C/C++ Source or Header  |  2010-09-13  |  2KB  |  83 lines

  1. /////////////////////////////////////////////////////////////////////////////
  2. //    License (GPLv2+):
  3. //    This program is free software; you can redistribute it and/or modify
  4. //    it under the terms of the GNU General Public License as published by
  5. //    the Free Software Foundation; either version 2 of the License, or
  6. //    (at your option) any later version.
  7. //
  8. //    This program is distributed in the hope that it will be useful, but
  9. //    WITHOUT ANY WARRANTY; without even the implied warranty of
  10. //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  11. //    General Public License for more details.
  12. //
  13. //    You should have received a copy of the GNU General Public License
  14. //    along with this program; if not, write to the Free Software
  15. //    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  16. /////////////////////////////////////////////////////////////////////////////
  17.  
  18. #include "stdafx.h"
  19. #include "fshed.h"
  20.  
  21. #include "ChildFrm.h"
  22.  
  23. #ifdef _DEBUG
  24. #define new DEBUG_NEW
  25. #undef THIS_FILE
  26. static char THIS_FILE[] = __FILE__;
  27. #endif
  28.  
  29. /////////////////////////////////////////////////////////////////////////////
  30. // CChildFrame
  31.  
  32. IMPLEMENT_DYNCREATE(CChildFrame, CMDIChildWnd)
  33.  
  34. BEGIN_MESSAGE_MAP(CChildFrame, CMDIChildWnd)
  35.     //{{AFX_MSG_MAP(CChildFrame)
  36.     //}}AFX_MSG_MAP
  37. END_MESSAGE_MAP()
  38.  
  39. /////////////////////////////////////////////////////////////////////////////
  40. // CChildFrame construction/destruction
  41.  
  42. CChildFrame::CChildFrame()
  43. {
  44.     // TODO: add member initialization code here
  45.     
  46. }
  47.  
  48. CChildFrame::~CChildFrame()
  49. {
  50. }
  51.  
  52. BOOL CChildFrame::PreCreateWindow(CREATESTRUCT& cs)
  53. {
  54.     // TODO: Modify the Window class or styles here by modifying
  55.     //  the CREATESTRUCT cs
  56.  
  57.     if( !CMDIChildWnd::PreCreateWindow(cs) )
  58.         return FALSE;
  59.  
  60.     return TRUE;
  61. }
  62.  
  63.  
  64.  
  65. /////////////////////////////////////////////////////////////////////////////
  66. // CChildFrame diagnostics
  67.  
  68. #ifdef _DEBUG
  69. void CChildFrame::AssertValid() const
  70. {
  71.     CMDIChildWnd::AssertValid();
  72. }
  73.  
  74. void CChildFrame::Dump(CDumpContext& dc) const
  75. {
  76.     CMDIChildWnd::Dump(dc);
  77. }
  78.  
  79. #endif //_DEBUG
  80.  
  81. /////////////////////////////////////////////////////////////////////////////
  82. // CChildFrame message handlers
  83.