www.pudn.com > ThreadCompete.rar > MainFrm.h
#if !defined(AFX_MAINFRM_H__52AECF69_BBAE_11D6_81B5_00106076215B__INCLUDED_)
#define AFX_MAINFRM_H__52AECF69_BBAE_11D6_81B5_00106076215B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "ChildView.h"
class CMainFrame : public CFrameWnd
{
public:
CMainFrame();
protected:
DECLARE_DYNAMIC(CMainFrame)
public:
//{{AFX_VIRTUAL(CMainFrame)
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo);
virtual void OnClose();
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CMainFrame();
CStatusBar m_wndStatusBar;
CToolBar m_wndToolBar;
CChildView m_wndView;
// Generated message map functions
protected:
//{{AFX_MSG(CMainFrame)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnSetFocus(CWnd *pOldWnd);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#endif