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

📄 portiodlg.h

📁 用vc++实现的并口epp模式读写程序
💻 H
字号:
// PortIODlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CPortIODlg dialog

class CPortIODlg : public CDialog
{
// Construction
public:
	CPortIODlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CPortIODlg)
	enum { IDD = IDD_PORTIO_DIALOG };
	int		m_ioSize;
	int		m_numberFormat;
	CString	m_addr;
	CString	m_value;
	//}}AFX_DATA

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


	private:
		DWORD m_dwAddr;
		DWORD m_dwValue;
		BOOL m_bDec;

		//functions
		BOOL UpdateInternalVariables();
		void FormatUpdateDiaglog();

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CPortIODlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnButtonAbout();
	afx_msg void OnRead();
	afx_msg void OnWrite();
	afx_msg void OnRadioDec();
	afx_msg void OnRadioHex();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

⌨️ 快捷键说明

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