⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mainfrm.h

📁 一个PLX教学编译器IDE
💻 H
字号:
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_MAINFRM_H__9044DE94_0C3B_4B9B_A3A0_152F6D6EED8D__INCLUDED_)
#define AFX_MAINFRM_H__9044DE94_0C3B_4B9B_A3A0_152F6D6EED8D__INCLUDED_

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

#define WM_DIALOGBARCLOSE WM_USER+1


#include "_MESSAGE_DEF.H"
#include "CoolDialogBar.h"
#include "CDebugInfoDlg.h"
#include "SourceInfoDlg.h"
#include "DebugOutinfoDlg.h"

class CMainFrame : public CMDIFrameWnd
{
	DECLARE_DYNAMIC(CMainFrame)
public:
	CMainFrame();
	virtual ~CMainFrame();

public:
	//{{AFX_VIRTUAL(CMainFrame)
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	//}}AFX_VIRTUAL

public:
	void AddSearchCombo();
	void AddDockBar(void);
	
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;

#endif

public: 
	CStatusBar     m_wndStatusBar;
	CToolBar       m_wndToolBar_main;
	CToolBar       m_wndToolBar_execute;
	CToolBar       m_wndToolBar3;

    bool           m_bCommandBar;
	bool           m_bSourceInfo;
	bool           m_bDebugInfo;

public:
	void ShowDebugOutInfo();
	CCoolDialogBar m_debugInfoBar;
	CCoolDialogBar m_sourceInfoBar;
	CCoolDialogBar m_debugOutInfoBar;

	CSourceInfoDlg   m_sourceInfoDlg;
	CCDebugInfoDlg   m_debugInfoDlg;
	CDebugOutinfoDlg m_debugOutInfoDlg;

	CComboBox      m_cbSearchText;
	CComboBox      m_cbEditfileName;

	CFont   m_strFont;

	/* 响应活动条关闭 */
	afx_msg void OnDockBarClose(WPARAM wParam,LPARAM lParam);
protected:
	bool GetCurrentDebugState();
	void DockControlBarLeftOf(CToolBar* Bar, CToolBar* LeftOf);
	void MsgTransmitProc(LPACTION pAction);

	//{{AFX_MSG(CMainFrame)
	afx_msg int  OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnCommadbar();
	afx_msg void OnUpdateCommadbar(CCmdUI* pCmdUI);
	afx_msg void OnWndSourceinfo();
	afx_msg void OnUpdateWndSourceinfo(CCmdUI* pCmdUI);
	afx_msg void OnWndDebug();
	afx_msg void OnUpdateWndDebug(CCmdUI* pCmdUI);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
#endif // !defined(AFX_MAINFRM_H__9044DE94_0C3B_4B9B_A3A0_152F6D6EED8D__INCLUDED_)

⌨️ 快捷键说明

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