📄 +-+
字号:
// 文件分割器Dlg.h : header file
//
#if !defined(AFX_DLG_H__82831C46_5684_11D5_9EAD_9A2F43311D1A__INCLUDED_)
#define AFX_DLG_H__82831C46_5684_11D5_9EAD_9A2F43311D1A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CMyDlg dialog
class CMyDlg : public CDialog
{
// Construction
public:
CMyDlg(CWnd* pParent = NULL); // standard constructor
//=================================================================
//重要变量
public:
DWORD dwLongOfCutFile; //切割文件的长度
DWORD dwLongOfSourceFile; //源文件的长度
int Check; //设置分割/合并标识符(分割:1 / 合并:2)
DWORD temp; //临时变量
DWORD FileNum; //文件数
BYTE Context; //读文件内容
//对象
public:
CFile srcFile; //源文件
CString srcFileName; //源文件名
CString tagExtName; //目标扩展文件名
CFile tagFile; //目标文件
CString tagFileName; //目标文件名
CString TempStr; //临时对象
//函数
public:
void ActiveItem(bool Switch); //自定义函数,用来开/关"执行区"控件
void UpdateProgress(void); //自定义函数,用来更新进度条
void UpdateProgress2(void); //自定义函数,用来更新进度条
//=================================================================
// Dialog Data
//{{AFX_DATA(CMyDlg)
enum { IDD = IDD_MY_DIALOG };
CStatic m_sTagFileCTRL;
CStatic m_sSourceFileCTRL;
CButton m_sRunCTRL;
CStatic m_sReportCTRL;
CButton m_bRunCTRL;
CButton m_bTagFileBrowseCTRL;
CButton m_bSourceFileBrowseCTRL;
CEdit m_eTagFileCTRL;
CEdit m_eSourceFileCTRL;
CProgressCtrl m_ProgressCTRL;
CString m_sReportContext;
CString m_eSrcFile;
CString m_eTagFile;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CMyDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnRadioCutfile();
afx_msg void OnRadioUnitdfile();
afx_msg void OnButtonRun();
afx_msg void OnButtonAboutme();
afx_msg void OnButtonSourcefilebrowse();
afx_msg void OnButtonTagfilebrowse();
afx_msg void OnSetfocusEditSourcefile();
afx_msg void OnSetfocusEditTagfile();
afx_msg void OnMenuitemF();
afx_msg void OnMenuitemH();
afx_msg void OnMenuiteB();
afx_msg void OnMenuitemZ();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLG_H__82831C46_5684_11D5_9EAD_9A2F43311D1A__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -