readfile.h

来自「IO函数调用测试」· C头文件 代码 · 共 59 行

H
59
字号
// ReadFile.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CReadFile dialog

class CReadFile : public CHandlePage
{
	DECLARE_DYNCREATE(CReadFile)

// Construction
public:
	CReadFile();
	~CReadFile();

// Dialog Data
	//{{AFX_DATA(CReadFile)
	enum { IDD = IDD_READFILE };
	CHexDisplay	c_Bytes;
	CButton	c_Hex;
	CSpinButtonCtrl	c_SpinBytesToRead;
	CButton	c_ReadFile;
	CHandleCombo	c_Handle;
	CNumericEdit	c_BytesToRead;
	CNumericEdit	c_BytesRead;
	//}}AFX_DATA


// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(CReadFile)
	public:
	virtual BOOL OnSetActive();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
public:
	void getEvent(ReadFileEvent & e);
	void setEvent(ReadFileEvent & e);
protected:
	BOOL initialized;

	virtual void updateControls();

	// Generated message map functions
	//{{AFX_MSG(CReadFile)
	afx_msg void OnChangeBytestoread();
	afx_msg void OnSelendokHandle();
	afx_msg void OnReadfile();
	afx_msg void OnHex();
	virtual BOOL OnInitDialog();
	afx_msg void OnHelp();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};

⌨️ 快捷键说明

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