cmdbatview.h

来自「CAN__组建现场总线系统设计技术(光盘)」· C头文件 代码 · 共 93 行

H
93
字号
#if !defined(AFX_CMDBATVIEW_H__4FB51F24_02C2_11D7_A0EF_5254AB179C1B__INCLUDED_)
#define AFX_CMDBATVIEW_H__4FB51F24_02C2_11D7_A0EF_5254AB179C1B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CmdBatView.h : header file
//


/////////////////////////////////////////////////////////////////////////////
// CCmdBatView form view

#ifndef __AFXEXT_H__
#include <afxext.h>
#endif

#include "btnst.h"
#include "CmdBatDoc.h"
class CCmdBatView : public CFormView
{
protected:
	CCmdBatView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CCmdBatView)

	CCmdBatDoc * GetDocument();
// Form Data
public:
	//{{AFX_DATA(CCmdBatView)
	enum { IDD = IDD_DIALOG_CMDBAT };
	CButtonST	m_btnvalid;
	CButtonST	m_btninvalid;
	CButtonST	m_btnsave;
	CButtonST	m_btnload;
	CButtonST	m_btnhelp;
	UINT	m_LoopCount;
	CString	m_sCmdBat;
	CString	m_sNote;
	//}}AFX_DATA

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCmdBatView)
	public:
	virtual void OnInitialUpdate();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

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

	// Generated message map functions
	//{{AFX_MSG(CCmdBatView)
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnButtonHelp();
	afx_msg void OnValid();
	afx_msg void OnInvalid();
	afx_msg void OnDestroy();
	afx_msg void OnButtonLoad();
	afx_msg LRESULT OnReceiveFrame(WPARAM w,LPARAM l);
	afx_msg void OnButtonSave();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	UINT m_TimerID;
	UINT m_TimerRes;
	CBrush m_bkbrush;
};

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

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#ifndef _DEBUG                  // debug version in editpadview.cpp
inline CCmdBatDoc *CCmdBatView::GetDocument ()
{
  return (CCmdBatDoc*) m_pDocument;
}
#endif
#endif // !defined(AFX_CMDBATVIEW_H__4FB51F24_02C2_11D7_A0EF_5254AB179C1B__INCLUDED_)

⌨️ 快捷键说明

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