shelloperation.h
来自「第14章 MFC文件操作.rar 第14章 MFC文件操作.rar 第14章 M」· C头文件 代码 · 共 57 行
H
57 行
#if !defined(AFX_SHELLOPERATION_H__F25985B5_AD87_4970_AE75_11AFF48DDBAC__INCLUDED_)
#define AFX_SHELLOPERATION_H__F25985B5_AD87_4970_AE75_11AFF48DDBAC__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ShellOperation.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CShellOperation dialog
class CShellOperation : public CDialog
{
// Construction
public:
CShellOperation(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CShellOperation)
enum { IDD = IDD_ShellFileOperation };
CString m_desPath;
CString m_sourcePath;
//}}AFX_DATA
//定义外壳结构
SHFILEOPSTRUCT fileOpStruct;
//操作索引
int iIndex;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CShellOperation)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CShellOperation)
virtual BOOL OnInitDialog();
afx_msg void Onshelldes();
afx_msg void Onshellsource();
afx_msg void OnSelchangefunction();
afx_msg void Onexecute();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SHELLOPERATION_H__F25985B5_AD87_4970_AE75_11AFF48DDBAC__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?