📄 demodlg.h
字号:
// demoDlg.h : header file
//
#if !defined(AFX_DEMODLG_H__6AE5865E_E0AC_11D3_AD93_52544C1902E8__INCLUDED_)
#define AFX_DEMODLG_H__6AE5865E_E0AC_11D3_AD93_52544C1902E8__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
/////////////////////////////////////////////////////////////////////////////
// CDemoDlg dialog
class CDemoDlg : public CDialog
{
// Construction
public:
void Line();
CDemoDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDemoDlg)
enum { IDD = IDD_DEMO_DIALOG };
CComboBox m_cmbDirArc;
CComboBox m_cmbIOPort;
CEdit m_editIOvalue;
CComboBox m_cmbSpd3;
CComboBox m_cmbSpd2;
CComboBox m_cmbSpd1;
CComboBox m_cmbDir3;
CComboBox m_cmbDir2;
CComboBox m_cmbDir1;
CComboBox m_cmbChanMov;
CEdit m_editReturnSts;
CComboBox m_cmb_chanop;
CComboBox m_cmbMode;
CComboBox m_sChannel_config;
int m_counter1_value;
int m_counter2_value;
int m_counter3_value;
CString m_cBase_address;
CString m_cMode;
CString m_cReturn_value;
int m_iIOvalue;
CString m_cStep1;
CString m_cStep2;
CString m_cStep3;
CString m_cFH;
CString m_cFL;
CString m_cACC;
CString m_cLine1;
CString m_cLine2;
CString m_cArcX1;
CString m_cArcX2;
CString m_cArcY1;
CString m_cArcY2;
CString m_cLine3;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDemoDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CDemoDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnButtonSet();
afx_msg void OnButtonSetMode();
afx_msg void OnButtonSetSpeed();
afx_msg void OnBUTTONstatus();
afx_msg void OnBUTTONstop();
afx_msg void OnBUTTONwaitrdy();
afx_msg void OnBUTTONcheckbusy();
afx_msg void OnBUTTONslwdwn();
afx_msg void OnBUTTONsldnstop();
afx_msg void OnButtonOrg();
afx_msg void OnButtonCmove();
afx_msg void OnButtonPmove();
afx_msg void OnButtonInput();
afx_msg void OnButtonOutput();
afx_msg void OnTimer(UINT nIDEvent);
virtual void OnOK();
afx_msg void OnButtonLine();
afx_msg void OnButtonArc();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DEMODLG_H__6AE5865E_E0AC_11D3_AD93_52544C1902E8__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -