www.pudn.com > dockmenubar_demo.zip > bncfrm.cpp


// BncFrm.cpp : implementation file 
// 
 
// This is a part of the Microsoft Foundation Classes C++ library. 
// Copyright (C) 1992-1997 Microsoft Corporation 
// All rights reserved. 
// 
// This source code is only intended as a supplement to the 
// Microsoft Foundation Classes Reference and related 
// electronic documentation provided with the library. 
// See these sources for detailed information regarding the 
// Microsoft Foundation Classes product. 
 
#include "stdafx.h" 
#include "MDI.h" 
#include "BncFrm.h" 
 
#ifdef _DEBUG 
#define new DEBUG_NEW 
#undef THIS_FILE 
static char THIS_FILE[] = __FILE__; 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
// CBounceFrame 
 
IMPLEMENT_DYNCREATE(CBounceFrame, CMDIChildWnd) 
 
CBounceFrame::CBounceFrame() 
{ 
} 
 
CBounceFrame::~CBounceFrame() 
{ 
} 
 
 
BEGIN_MESSAGE_MAP(CBounceFrame, CMDIChildWnd) 
	//{{AFX_MSG_MAP(CBounceFrame) 
		// NOTE - the ClassWizard will add and remove mapping macros here. 
	//}}AFX_MSG_MAP 
END_MESSAGE_MAP() 
 
///////////////////////////////////////////////////////////////////////////// 
// CBounceFrame message handlers 
BOOL CBounceFrame::PreCreateWindow(CREATESTRUCT& cs)  
{ 
	return CMDIChildWnd::PreCreateWindow(cs); 
} 
 
BOOL CBounceFrame::Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CMDIFrameWnd* pParentWnd, CCreateContext* pContext)  
{ 
	return CMDIChildWnd::Create(lpszClassName, lpszWindowName, dwStyle, rect, pParentWnd, pContext); 
}