]> icculus.org git repositories - taylor/freespace2.git/blob - src/pofview/childfrm.cpp
Initial revision
[taylor/freespace2.git] / src / pofview / childfrm.cpp
1 // ChildFrm.cpp : implementation of the CChildFrame class
2 //
3
4 #include "stdafx.h"
5 #include "pofview.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, CMDIChildWnd)
19
20 BEGIN_MESSAGE_MAP(CChildFrame, CMDIChildWnd)
21         //{{AFX_MSG_MAP(CChildFrame)
22                 // NOTE - the ClassWizard will add and remove mapping macros here.
23                 //    DO NOT EDIT what you see in these blocks of generated code !
24         //}}AFX_MSG_MAP
25 END_MESSAGE_MAP()
26
27 /////////////////////////////////////////////////////////////////////////////
28 // CChildFrame construction/destruction
29
30 CChildFrame::CChildFrame()
31 {
32         // TODO: add member initialization code here
33         
34 }
35
36 CChildFrame::~CChildFrame()
37 {
38 }
39
40
41 /////////////////////////////////////////////////////////////////////////////
42 // CChildFrame diagnostics
43
44 #ifdef _DEBUG
45 void CChildFrame::AssertValid() const
46 {
47         CMDIChildWnd::AssertValid();
48 }
49
50 void CChildFrame::Dump(CDumpContext& dc) const
51 {
52         CMDIChildWnd::Dump(dc);
53 }
54
55 #endif //_DEBUG
56
57 /////////////////////////////////////////////////////////////////////////////
58 // CChildFrame message handlers
59
60 BOOL CChildFrame::PreCreateWindow(CREATESTRUCT& cs) 
61 {
62         // TODO: Add your specialized code here and/or call the base class
63
64         cs.cx = 640;
65         cs.cy = 480;
66         
67         return CMDIChildWnd::PreCreateWindow(cs);
68 }