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

📄 dllmanager.h

📁 这是一本学习 window编程的很好的参考教材
💻 H
字号:
#pragma once

class DLLManager
{
public:
	DLLManager();
	~DLLManager(void);

// Methods
	// Used to load DLL given the filename
	bool LoadDLL(CString szFileName);
	// Used to initialize the DLL
	bool InitDLL();
	// Used to free previously loaded DLL
	bool FreeDLL();
	// Used to set the toolbar object
	void SetToolBarPointer(CToolBar *pwndToolBar);
	// Used to access the ID of the toolbar button added by this DLL
	UINT GetToolBarButtonID();
	// Used to extract the Plug-In's name
	bool GetDLLName(CString *szName);

// Member Variables
public:
	// Used to hold the filename of the DLL
	CString m_szDLLFileName;
	// Used to hold the pointer to DLL Instance
	HINSTANCE m_pDLLhInstance;

private:
	// Used to hold toolbar button Resource IDs returned by plug-ins
//	UINT m_unButtonArray[10];
	// Used to hold number to buttons added to toolbar
//	short m_nButtonCount;
	// Used to hold pointer to toolbar object
	CToolBar *m_pwndToolBar;

public:
	// Used to set the filename for the DLL
	void SetDLLFileName(CString szFileName);

protected:
	// Used to hold the ID of the toolbar button added by the DLL
	UINT m_unToolBarID;

public:
	// Used to hold the name of the Plug-In
	CString m_szPlugInName;
};

⌨️ 快捷键说明

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