portiodlg.h
来自「用vc++实现的并口epp模式读写程序」· C头文件 代码 · 共 56 行
H
56 行
// 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 + =
减小字号Ctrl + -
显示快捷键?