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

📄 externaldialog.h

📁 一本在讲述USB驱动程式的书 及其范例原码
💻 H
字号:
// ExternalDialog.h -- Declaration of CExternalDialog class
// Copyright (C) 2002 by Walter Oney
// All rights reserved

// CExternalDialog is an MFC CPropertyPage built on top of an externally created property
// page. This class is useful in situations, such as a coinstaller DLL, where you need
// to add a property page to a property sheet that someone else owns.

#pragma once

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

class CExternalDialog : public CPropertyPage
{								// class CExternalDialog
	DECLARE_DYNAMIC(CExternalDialog)

public:
	CExternalDialog();
	virtual ~CExternalDialog();

	virtual WNDPROC* GetSuperWndProcAddr();
	WNDPROC m_wndproc;
	AFX_MODULE_STATE* m_modstate;
};								// class CExternalDialog

BOOL CALLBACK DummyDlgProc(HWND hdlg, UINT msg, WPARAM wParam, LPARAM lParam);

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

class CExternalDialogApp : public CWinApp
	{								// class CExternalDialogApp
public:
	CExternalDialogApp() {m_theApp = this;}

#ifdef _AFXDLL
	__inline AFX_MODULE_STATE* GetModuleStatePointer() {return m_pModuleState;}
#else
	__inline AFX_MODULE_STATE* GetModuleStatePointer() {return NULL;}
#endif

	static CExternalDialogApp* m_theApp;

	DECLARE_MESSAGE_MAP()
	};								// class CExternalDialogApp

⌨️ 快捷键说明

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