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

📄 controldlg.h

📁 此程序是关于步进电机的控制
💻 H
字号:
// ControlDlg.h : header file
//

#if !defined(AFX_CONTROLDLG_H__76253DBA_CA82_44A3_8F85_5BF16FF295AF__INCLUDED_)
#define AFX_CONTROLDLG_H__76253DBA_CA82_44A3_8F85_5BF16FF295AF__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CControlDlg dialog
# include "LabDrvFuns.h"
class CControlDlg : public CDialog
{
// Construction
public:
	CControlDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CControlDlg)
	enum { IDD = IDD_CONTROL_DIALOG };
	CString	m_strBase;
	//}}AFX_DATA

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

// Implementation
public:
	CImageList m_imageList;
	FOPEN	OpenPortTalk;
	FCLOSE	ClosePortTalk;
	FOUTD	outportd;
	FIND	inportd;
	unsigned short 	Port_io_Base;
	unsigned int i,j;
	int reaped;
protected:
	CString m_strFileName;
	BOOL m_front_flag;
	BOOL m_back_flag;
	HICON m_hIcon;
	CProgressCtrl *pProg;

	// Generated message map functions
	//{{AFX_MSG(CControlDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnButtonInit();
	afx_msg void OnButtonFront();
	afx_msg void OnButtonPause();
	afx_msg void OnButtonBack();
	afx_msg void OnButtonExit();
	afx_msg void OnButtonManage();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnItemchangedList1(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_CONTROLDLG_H__76253DBA_CA82_44A3_8F85_5BF16FF295AF__INCLUDED_)

⌨️ 快捷键说明

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