mainfrm.h

来自「本人买的<<VC++项目开发实例>>源代码配套光盘.」· C头文件 代码 · 共 90 行

H
90
字号
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_MAINFRM_H__9DCAA6B7_B21E_4EC3_9414_8629DA00C558__INCLUDED_)
#define AFX_MAINFRM_H__9DCAA6B7_B21E_4EC3_9414_8629DA00C558__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "proptable.h"

class CVicView;
class CAliasView;

//##ModelId=3C37413D0052
class CMainFrame : public CFrameWnd
{
//****for test only ****victor lee
public:
	//##ModelId=3CCC336E03DC
	CTableSheet m_TableSheet;
//*****
protected: // create from serialization only
	//##ModelId=3C37413D007A
	CMainFrame();
	DECLARE_DYNCREATE(CMainFrame)

// Attributes
protected:
	//##ModelId=3CCC336F001C
	CSplitterWnd m_wndSplitter;
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMainFrame)
	public:
	//##ModelId=3C37413D03C4
	virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
	//##ModelId=3C37413D03D8
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	//}}AFX_VIRTUAL

// Implementation
public:
	//##ModelId=3C37413D03E3
	virtual ~CMainFrame();
	//##ModelId=3C37413E000F
	CVicView* GetRightPane();
	//##ModelId=3C6215DC0318
	CAliasView* GetLeftPane();
#ifdef _DEBUG
	//##ModelId=3C37413E0018
	virtual void AssertValid() const;
	//##ModelId=3C37413E002C
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:  // control bar embedded members
	//##ModelId=3CCC336F004E
	CStatusBar  m_wndStatusBar;
	//##ModelId=3CCC336F0076
	CToolBar    m_wndToolBar;

// Generated message map functions
protected:
	//{{AFX_MSG(CMainFrame)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnMenuTest();
	afx_msg void OnMenuOption();
	//}}AFX_MSG
	//##ModelId=3C37413E034D
	afx_msg void OnUpdateViewStyles(CCmdUI* pCmdUI);
	//##ModelId=3C37413E0393
	afx_msg void OnViewStyle(UINT nCommandID);
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MAINFRM_H__9DCAA6B7_B21E_4EC3_9414_8629DA00C558__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?