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

📄 mainfrm.h

📁 串口的监控程序,提供了固定命令模式和
💻 H
字号:
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_MAINFRM_H__20D8C1C2_77B1_4D66_9F95_636B9A6D17B1__INCLUDED_)
#define AFX_MAINFRM_H__20D8C1C2_77B1_4D66_9F95_636B9A6D17B1__INCLUDED_

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

#define DELAY_COUNTER   100


//#include "XStatusBar.h"
//#include "XPaneText.h"
#include "ToolBarEx.h"

#include "XRichEditCtrl.h"
//#include "CallerEdit.h"
#include "Afxpriv.h"


//##ModelId=3FFC8F3A004E
class CMainFrame : public CFrameWnd
{
	
protected: // create from serialization only
	//##ModelId=3FFC8F3A0050
	CMainFrame();
	DECLARE_DYNCREATE(CMainFrame)

// Attributes
public:
//	CCallerEdit m_xrec;
	//##ModelId=3FFC8F3A005D
	void RecvSendWnd(WPARAM wParam, LPARAM lParam);
	//##ModelId=3FFC8F3A0060
    void DrawLnCol(int nLine, int nCol);

// Operations
public:
//    CSendFrameWnd m_wndSF;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMainFrame)
	//##ModelId=3FFC8F3A006D
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	//}}AFX_VIRTUAL

// Implementation
public:
	//##ModelId=3FFC8F3A0070
	LONG m_lCursorCol;
	//##ModelId=3FFC8F3A0071
	LONG m_lCursorLin;
	//##ModelId=3FFC8F3A007D
	virtual ~CMainFrame();
#ifdef _DEBUG
	//##ModelId=3FFC8F3A007F
	virtual void AssertValid() const;
	//##ModelId=3FFC8F3A0081
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:  // control bar embedded members
	//##ModelId=3FFC8F3A008D
    CStatusBar  m_wndStatusBar;
//	XStatusBar  m_wndStatusBar;
	//##ModelId=3FFC8F3A0092
	CToolBar    m_wndToolBar;

	//##ModelId=3FFC8F3A009D
	CToolBarEx   tbex;
	//##ModelId=3FFC8F3A00AC
	CToolBarEx   tbex2;

// Generated message map functions
protected:
	//{{AFX_MSG(CMainFrame)
	//##ModelId=3FFC8F3A00BB
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	//##ModelId=3FFC8F3A00BE
	afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
	//##ModelId=3FFC8F3A00CE
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	//##ModelId=3FFC8F3A00DD
	afx_msg BOOL OnToolTipText(UINT nID, NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_XRICHEDIT_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_MAINFRM_H__20D8C1C2_77B1_4D66_9F95_636B9A6D17B1__INCLUDED_)

⌨️ 快捷键说明

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