setfilepointer.h

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

H
61
字号
// SetFilePointer.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CSetFilePointer dialog

class CSetFilePointer : public CHandlePage
{
	DECLARE_DYNCREATE(CSetFilePointer)

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


// Dialog Data
	//{{AFX_DATA(CSetFilePointer)
	enum { IDD = IDD_SETFILEPOINTER };
	CButton	c_FileEnd;
	CButton	c_FileCurrent;
	CButton	c_FileBegin;
	CSpinButtonCtrl	c_SpinPosition;
	CButton	c_SetFilePointer;
	CHandleCombo	c_Handle;
	CNumericEdit	c_DistanceToMove;
	//}}AFX_DATA


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

// Implementation
public:
	CCreateFileSheet * getSheet() { return (CCreateFileSheet *)GetParent();}

protected:
	DWORD getMode();
	BOOL initialized;
	void updateControls();
	// Generated message map functions
	//{{AFX_MSG(CSetFilePointer)
	afx_msg void OnChangeDistancetomove();
	afx_msg void OnFileBegin();
	afx_msg void OnFileCurrent();
	afx_msg void OnFileEnd();
	afx_msg void OnSelendokHandle();
	afx_msg void OnSetfilepointer();
	virtual BOOL OnInitDialog();
	afx_msg void OnHelp();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};

⌨️ 快捷键说明

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