cutter.h

来自「《windows程序设计》王艳平版的书籍源代码」· C头文件 代码 · 共 42 行

H
42
字号
///////////////////////////////////////////
// MainDir.h文件	// 07MainDir

#include <afxwin.h>	
#include <afxcmn.h>	// 为了使用CStatusBarCtrl类

#include "FileCutter.h"

class CMyApp : public CWinApp
{
public:
	BOOL InitInstance();
};

class CMainDialog : public CDialog
{
public:
	CMainDialog(CWnd* pParentWnd = NULL);

protected:
	// 进度条控件对象
	CProgressCtrl m_Progress;

	CFileCutter* m_pCutter;

	// 动态控制程序界面的函数
	void UIControl();
protected:
	virtual BOOL OnInitDialog();
	virtual void OnCancel();

	afx_msg void OnSourceBrowser();
	afx_msg void OnDestBrowser();
	afx_msg void OnStart();
	afx_msg void OnStop();
	afx_msg void OnSelect();
	// 处理CFileCutter类发来的消息
	afx_msg long OnCutterStart(WPARAM wParam, LPARAM);
	afx_msg long OnCutterStatus(WPARAM wParam, LPARAM lParam);
	afx_msg long OnCutterStop(WPARAM wParam, LPARAM lParam);
	DECLARE_MESSAGE_MAP()
};

⌨️ 快捷键说明

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