⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 filespltdlg.h

📁 VC写的文件分割器
💻 H
字号:
// FileSpltDlg.h : header file
//
//Modify by 徐景周 ,2001.2.13
//功能:文件分割为各种大小格式,并将其合并在一起
//
#if !defined(AFX_FILESPLTDLG_H__7FE4F386_019A_11D5_9005_D288FBFBF7E1__INCLUDED_)
#define AFX_FILESPLTDLG_H__7FE4F386_019A_11D5_9005_D288FBFBF7E1__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "WBButton.h" //位图按钮
#include "GradientProgressCtrl.h" //渐变色进度条
/////////////////////////////////////////////////////////////////////////////
// CFileSpltDlg dialog

class CFileSpltDlg : public CDialog
{
// Construction
public:
	CFileSpltDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CFileSpltDlg)
	enum { IDD = IDD_FILESPLT_DIALOG };
	CComboBox	m_FileSize;
	CGradientProgressCtrl  pProgress;
    CWBButton m_buttMerge;  //定义位图按钮
	CWBButton m_buttExit;
	CWBButton m_buttSplit;
	CWBButton m_Browse;
    CWBButton m_Browse2;
	CButton	m_RadioSplit;
	CEdit	m_edit;
	CString	m_parts;
	CString	m_path;
	CString	m_targetpath;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CFileSpltDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
    BOOL m_split;
	CString m_filename;
	CFile m_SourceFile;
	HICON m_hIcon;
	int SplitMe();
	int MergeMe();
	UINT GetSplitFileSize();

	// Generated message map functions
	//{{AFX_MSG(CFileSpltDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnBrowse();
	afx_msg void OnOk();
	afx_msg void OnButtonMerge();
	afx_msg void OnRadio4();
	afx_msg void OnRadio3();
	afx_msg void OnBrowse2();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_FILESPLTDLG_H__7FE4F386_019A_11D5_9005_D288FBFBF7E1__INCLUDED_)

⌨️ 快捷键说明

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