The Machine Perception Toolbox

[Introduction]- [News]- [Download]- [Screenshots]- [Manual (pdf)]- [Forums]- [API Reference]- [Repository ]

 

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ChildView.cpp

Go to the documentation of this file.
00001 // ChildView.cpp : implementation of the CChildView class
00002 //
00003 
00004 #include "stdafx.h"
00005 #include "VideoDemo.h"
00006 #include "ChildView.h"
00007 
00008 #ifdef _DEBUG
00009 #define new DEBUG_NEW
00010 #undef THIS_FILE
00011 static char THIS_FILE[] = __FILE__;
00012 #endif
00013 
00015 // CChildView
00016 
00017 CChildView::CChildView()
00018 {
00019 }
00020 
00021 CChildView::~CChildView()
00022 {
00023 }
00024 
00025 
00026 BEGIN_MESSAGE_MAP(CChildView,CWnd )
00027         //{{AFX_MSG_MAP(CChildView)
00028         ON_WM_PAINT()
00029         //}}AFX_MSG_MAP
00030 END_MESSAGE_MAP()
00031 
00032 
00034 // CChildView message handlers
00035 
00036 BOOL CChildView::PreCreateWindow(CREATESTRUCT& cs) 
00037 {
00038         if (!CWnd::PreCreateWindow(cs))
00039                 return FALSE;
00040 
00041         cs.dwExStyle |= WS_EX_CLIENTEDGE;
00042         cs.style &= ~WS_BORDER;
00043         cs.lpszClass = AfxRegisterWndClass(CS_HREDRAW|CS_VREDRAW|CS_DBLCLKS, 
00044                 ::LoadCursor(NULL, IDC_ARROW), HBRUSH(COLOR_WINDOW+1), NULL);
00045 
00046         return TRUE;
00047 }
00048 
00049 void CChildView::OnPaint() 
00050 {
00051         CPaintDC dc(this); // device context for painting
00052         
00053         // TODO: Add your message handler code here
00054         
00055         // Do not call CWnd::OnPaint() for painting messages
00056 }
00057 

Generated on Mon Nov 8 17:07:31 2004 for MPT by  doxygen 1.3.9.1