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

📄 notifyhook.h

📁 As an alternate to the migration scenario, Microsoft offers some interoperation solutions (in an int
💻 H
字号:
// NotifyHook.h
/*
 * Copyright (c) 2005 Alexey Shalnov
 * All Rights Reserved
 * 
 * http://home.arcor.de/alexeyshalnov/home/
*/

#pragma once
#include "afxole.h"
#include "..\src\mfc\oleimpl2.h"
#include <stack>

class CNotifyHook : public COleFrameHook
{
private:
	// containers for disabled dialogs
	std::stack <HWND>	m_StackDisableDialog;
	std::stack <HWND>	m_StackFocus;
	
	HWND				m_hExternFrameHwnd;
	BOOL				m_IsExternEnable;
	HWND*				m_phWndDisable;       // disabled ExternFrame windows  
public:
	CNotifyHook(CFrameWnd* pFrameWnd,const HWND hExternFrameHwnd);

// Overrides
	virtual void OnEnableModeless(BOOL bEnable);

// Implementation
public:
	virtual ~CNotifyHook();
};

⌨️ 快捷键说明

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