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

📄 mainfrm.h

📁 CMUD源码 用来玩MUD游戏的 没开发完
💻 H
字号:
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_MAINFRM_H__B720530A_450E_4E71_BEDD_4DE163FF7372__INCLUDED_)
#define AFX_MAINFRM_H__B720530A_450E_4E71_BEDD_4DE163FF7372__INCLUDED_

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

#include "myBar.h"
#include "sendEdit.h"

#define ALETTER "mursHDK"

class CMainFrame : public CFrameWnd
{
	
protected: // create from serialization only
	CMainFrame();
	DECLARE_DYNCREATE(CMainFrame)

// Attributes
public:
	int m_nTime;
	CString m_dir;

// Operations
public:

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

// Implementation
public:
	void RunAuto(CString s);
	afx_msg void OnSend();
	static BOOL GetFileName(CString &name, BOOL bOpen=TRUE);
	void Paste();
    CString Filt(CString s);
	void FocusOnSend();
	void SetWhoEdit(CString s);
	virtual ~CMainFrame();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:  // control bar embedded members
	CToolBar    m_wndToolBar;
	CString m_sBarCmd[8],m_sNumCmd[9];
	CReBar      m_wndReBar;
	CDialogBar      m_wndDlgBar,m_wndDlgBar1;
	CSendEdit       m_sendEdit;
	CMyBar		    m_wndMyBar;
    CStringArray    m_cmdArray;
	CString m_sLastTyped;
	BOOL    m_bTalk;
	
// Generated message map functions
protected:
	void OnNumPad(UINT nID);
	void Init();
	void OnBarCmd(UINT nID);
	BOOL GetIniFile();
	void OnQk(UINT nID);
	void OnRadio(UINT nID);
	void InitRadio();
	void InitCheck();
	BOOL SendChange();	
	afx_msg LONG OnMciNotify(UINT wParam, LONG lDevId);
	//{{AFX_MSG(CMainFrame)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSelendokCmdslist();
	afx_msg void OnClearsend();
	afx_msg void OnShow();
	afx_msg void OnUpdateShow(CCmdUI* pCmdUI);
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnQuickEdit();
	afx_msg void OnSetIni();
	afx_msg void OnTyped();
	afx_msg void OnButton();
	//}}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__B720530A_450E_4E71_BEDD_4DE163FF7372__INCLUDED_)

⌨️ 快捷键说明

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