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

📄 icontextmenuimpl.h

📁 dos系统下的16进制文件内容察看器源码
💻 H
字号:
//---------------------------------------------------------------------------------------

// Quick Hex Shell extension
// Copyright (c) 2000 by Shanker.C
// All rights reserved
// Author's consent required if this program is to be used for commercial purposes
// No warranty of any kind, expressed or implied, is included with this
// software; use at your own risk, responsibility for damages (if any) to
// anyone resulting from the use of this software rests entirely with the user.
// Please send comments/suggestions/criticisms to: Shanker@xlprint.com
// March 7, 2000

//---------------------------------------------------------------------------------------

#ifndef _CONTEXTMENUIMPL_H_
#define _CONTEXTMENUIMPL_H_

//---------------------------------------------------------------------------------------

#include <AtlCom.h>
#include <ShlObj.h>

class ATL_NO_VTABLE IContextMenuImpl : public IContextMenu
{
public:
	// IUnknown methods
	STDMETHOD(QueryInterface)(REFIID riid, void** ppvObject) = 0;
	_ATL_DEBUG_ADDREF_RELEASE_IMPL(IContextMenuImpl)

	// IContextMenu methods
	STDMETHOD(GetCommandString)(UINT, UINT, UINT*, LPSTR, UINT)
	{
		return S_FALSE;
	}

	STDMETHOD(InvokeCommand)(LPCMINVOKECOMMANDINFO)
	{
		return S_FALSE;
	}

	STDMETHOD(QueryContextMenu)(HMENU, UINT, UINT, UINT, UINT)
	{
		return S_FALSE;
	}
};

//---------------------------------------------------------------------------------------

#endif //_CONTEXTMENUIMPL_H_

//---------------------------------------------------------------------------------------


⌨️ 快捷键说明

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