📄 curvedynamicdialog.h
字号:
#if !defined(AFX_CURVEDYNAMICDIALOG_H__AF62536A_FD98_11D4_A0AC_EC0CA046FE36__INCLUDED_)
#define AFX_CURVEDYNAMICDIALOG_H__AF62536A_FD98_11D4_A0AC_EC0CA046FE36__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CurveDynamicDialog.h : header file
//
#include "Global.h"
#include "DataType.h"
#include "CurveDynamicFlow.h"
/////////////////////////////////////////////////////////////////////////////
// CCurveDynamicDialog dialog
class CCurveDynamicDialog : public CDialog
{
// Construction
public:
DWORD m_nButtonID[MAX_CURVE_NUMPERGROUP],m_nStaticID[MAX_CURVE_NUMPERGROUP];
void ResetCtrl(short nGroupNo);
CString* m_nNameArray[MAX_CURVE_NUMPERGROUP];
CString* m_nCurAnavalArray[MAX_CURVE_NUMPERGROUP];
CString* m_nDownArray[MAX_CURVE_NUMPERGROUP];
CString* m_nUpperArray[MAX_CURVE_NUMPERGROUP];
float m_nCurDown[MAX_CURVE_GROUP][MAX_CURVE_NUMPERGROUP],m_nCurUpper[MAX_CURVE_GROUP][MAX_CURVE_NUMPERGROUP];
void InitCtrl();
void ResetCurveFlow(short nGroupNo);
void InitCurveFlow();
void InitData();
UINT m_nTimeID;
CCurveDynamicDialog(CWnd* pParent = NULL); // standard constructor
BOOL Create(CWnd *pWnd);
CWnd *m_pParentWnd;
// Dialog Data
//{{AFX_DATA(CCurveDynamicDialog)
enum { IDD = IDD_DIALOG_CURVEDYNAMIC };
CSpinButtonCtrl m_nSpinUpper4;
CSpinButtonCtrl m_nSpinUpper3;
CSpinButtonCtrl m_nSpinUpper2;
CSpinButtonCtrl m_nSpinUpper1;
CSpinButtonCtrl m_nSpinDown4;
CSpinButtonCtrl m_nSpinDown3;
CSpinButtonCtrl m_nSpinDown2;
CSpinButtonCtrl m_nSpinDown1;
CListBox m_nList;
CString m_nEditName1;
CString m_nEditName2;
CString m_nEditName3;
CString m_nEditName4;
CString m_nEditCurTime;
CString m_nEditUpper1;
CString m_nEditUpper2;
CString m_nEditUpper3;
CString m_nEditUpper4;
CString m_nEditDown1;
CString m_nEditDown2;
CString m_nEditDown3;
CString m_nEditDown4;
CString m_nEditCurAnaval1;
CString m_nEditCurAnaval2;
CString m_nEditCurAnaval3;
CString m_nEditCurAnaval4;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCurveDynamicDialog)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CCurveDynamicDialog)
virtual BOOL OnInitDialog();
afx_msg void OnDestroy();
afx_msg void OnSelchangeList1();
afx_msg void OnPaint();
afx_msg void OnButtonapply();
afx_msg LRESULT OnCurveFlowSplitXChange(WPARAM wParam,LPARAM lParam);
afx_msg void OnButtonPrint();
virtual void OnOK();
afx_msg void OnDeltaposSPINDown1(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnDeltaposSPINDown2(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnDeltaposSPINDown3(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnDeltaposSPINDown4(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnDeltaposSPINUpper1(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnDeltaposSPINUpper2(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnDeltaposSPINUpper3(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnDeltaposSPINUpper4(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
static void CALLBACK EXPORT TimeCallbackName(unsigned int nParm1, unsigned int nParm2, unsigned long nParm3, unsigned long nParm4, unsigned long nParm5);
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CURVEDYNAMICDIALOG_H__AF62536A_FD98_11D4_A0AC_EC0CA046FE36__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -