📄 anavalueview1.h
字号:
#if !defined(AFX_ANAVALUEVIEW1_H__72196C6A_642F_4686_8D5A_F3D39281BF38__INCLUDED_)
#define AFX_ANAVALUEVIEW1_H__72196C6A_642F_4686_8D5A_F3D39281BF38__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// AnaValueView1.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CAnaValueView1 form view
#ifndef __AFXEXT_H__
#include <afxext.h>
#endif
#include "MbpcDoc.h"
#define WM_MYMESSAGE (WM_USER+100)
class CAnaValueView1 : public CFormView
{
protected:
CAnaValueView1(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CAnaValueView1)
// Form Data
public:
//{{AFX_DATA(CAnaValueView1)
enum { IDD = IDD_ANAVALUEVIEW };
CEdit m_EditSecName;
CButton m_btSetSec;
CButton m_btGetSratio;
CEdit m_EditSecRatio;
CEdit m_EditValueIn;
CProgressCtrl m_Progress;
CComboBox m_CombSec;
CComboBox m_CombFst;
CListCtrl m_ListAnalog;
CString m_szParaName;
float m_fParaRatio;
CString m_szSecName;
float m_fSecRatio;
int m_nFstComb;
int m_nSecComb;
float m_fValue;
CString m_szStatus;
//}}AFX_DATA
// Attributes
public:
// Operations
public:
int m_nAnaCntr;
CMbpcDoc* GetDocument();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAnaValueView1)
public:
virtual void OnInitialUpdate();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView);
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CAnaValueView1();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CAnaValueView1)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnParaset();
afx_msg void OnSecset();
afx_msg void OnDestroy();
afx_msg void OnSelchangeFstcomb();
afx_msg void OnSelchangeSeccomb();
afx_msg void OnGetsratio();
afx_msg LRESULT OnMyMessage(WPARAM w,LPARAM l);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
UINT m_nTimerFlag;
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ANAVALUEVIEW1_H__72196C6A_642F_4686_8D5A_F3D39281BF38__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -