mainfrm.h

来自「故障诊断工作涉及的领域相当广泛」· C头文件 代码 · 共 76 行

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

#if !defined(AFX_MAINFRM_H__FF16302C_1F43_4485_B75C_3727CD3C8F61__INCLUDED_)
#define AFX_MAINFRM_H__FF16302C_1F43_4485_B75C_3727CD3C8F61__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "MyStatusBar.h"
#include "propertybar.h"
class CMainFrame : public CMDIFrameWnd
{
	DECLARE_DYNAMIC(CMainFrame)
public:
	CMainFrame();

// Attributes
public:
	CMyStatusBar	m_wndStatusBar;
	CToolBar		m_wndToolBar;
	CToolBar		m_wndDrawBar;
	CToolBar		m_wndModifyBar;
	CToolBar		m_wndOSnapBar;
	CToolBar		m_wndZoomBar;
	CPropertyBar	m_wndPropertyBar;

	int		m_cxPaneWidth;
	BOOL	m_bMenuSelected;
	UINT	m_nPaneStyle;
	UINT	m_nPaneID;

	CreatePropertyBar();
// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMainFrame)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CMainFrame();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:  // control bar embedded members
	//CStatusBar  m_wndStatusBar;
//	CToolBar    m_wndToolBar;
	CDialogBar  m_wndDialogBar;
// Generated message map functions
protected:
	//{{AFX_MSG(CMainFrame)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnInitMenuPopup(CMenu* pPopupMenu, UINT nIndex, BOOL bSysMenu);
	afx_msg void OnMenuSelect( UINT nItemID, UINT nFlags, HMENU hSysMenu );
	afx_msg void OnPaint();
	afx_msg void OnClose();
//	afx_msg void OnSysinfo();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_MAINFRM_H__FF16302C_1F43_4485_B75C_3727CD3C8F61__INCLUDED_)

⌨️ 快捷键说明

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