root/trunk/ChildFrm.cpp

Revision 5, 1.3 kB (checked in by qbert, 6 years ago)

Initial ( and last :( ) commit

Line 
1  // ChildFrm.cpp : implementation of the CChildFrame class
2 //
3
4 #include "stdafx.h"
5 #include "Elephant.h"
6
7 #include "ChildFrm.h"
8  
9 #ifdef _DEBUG
10 #define new DEBUG_NEW
11 #undef THIS_FILE
12 static char THIS_FILE[] = __FILE__;
13 #endif
14
15 /////////////////////////////////////////////////////////////////////////////
16 // CChildFrame
17
18 IMPLEMENT_DYNCREATE(CChildFrame, CXTMDIChildWnd)
19
20 BEGIN_MESSAGE_MAP(CChildFrame, CXTMDIChildWnd)
21     //{{AFX_MSG_MAP(CChildFrame)
22     //}}AFX_MSG_MAP
23 END_MESSAGE_MAP()
24
25 /////////////////////////////////////////////////////////////////////////////
26 // CChildFrame construction/destruction
27
28 CChildFrame::CChildFrame()
29 {
30
31 }
32
33 CChildFrame::~CChildFrame()
34 {
35 }
36
37 BOOL CChildFrame::PreCreateWindow(CREATESTRUCT& cs)
38 {
39     if( !CXTMDIChildWnd::PreCreateWindow(cs) )
40         return FALSE;
41
42     cs.style |= WS_CLIPCHILDREN;
43    
44     return TRUE;
45 }
46
47
48 /////////////////////////////////////////////////////////////////////////////
49 // CChildFrame diagnostics
50
51 #ifdef _DEBUG
52 void CChildFrame::AssertValid() const
53 {
54     CXTMDIChildWnd::AssertValid();
55 }
56
57 void CChildFrame::Dump(CDumpContext& dc) const
58 {
59     CXTMDIChildWnd::Dump(dc);
60 }
61
62 #endif //_DEBUG
63
64 /////////////////////////////////////////////////////////////////////////////
65 // CChildFrame message handlers
Note: See TracBrowser for help on using the browser.