dialogthread.h

来自「类似于文件浏览器的vc++应用程序,容易使用,能进行各种文件操作.」· C头文件 代码 · 共 60 行

H
60
字号
#if !defined(AFX_DIALOGTHREAD_H__972075C8_9D4A_4C06_ADA1_64821AA92FA3__INCLUDED_)
#define AFX_DIALOGTHREAD_H__972075C8_9D4A_4C06_ADA1_64821AA92FA3__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DialogThread.h : header file
//

#include "DialogFileWnd.h"

/////////////////////////////////////////////////////////////////////////////
// CDialogThread thread

class CDialogThread : public CWinThread
{
	DECLARE_DYNCREATE(CDialogThread)
protected:
	CDialogThread();           // protected constructor used by dynamic creation

// Attributes
public:
	HANDLE			m_hEventCreated;
	HWND			m_hWndParent;
	CDialogFileWnd	m_wndFileBrowse;
	CListCtrl		m_ListCtrl;
	CWnd*			m_pAttachedView;
	int				m_nID;
// Operations
public:
	static UINT WINAPI KeyBoardHook(int nCode, WPARAM wParam, LPARAM lParam);
	static HANDLE g_hEventClosed;
	static HHOOK g_hHook;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDialogThread)
	public:
	virtual BOOL InitInstance();
	virtual int ExitInstance();
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CDialogThread();

	// Generated message map functions
	//{{AFX_MSG(CDialogThread)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_DIALOGTHREAD_H__972075C8_9D4A_4C06_ADA1_64821AA92FA3__INCLUDED_)

⌨️ 快捷键说明

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