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

📄 viewtoolwindowcommandhandler.h

📁 ResOrg 图形化管理Vc项目的资源ID的工具的源代码。 ResOrg - Manage and Renumber Resource Symbol IDs Introduction The
💻 H
字号:
/************************************************************************
 *
 *            Resource ID Organiser Add-In for Visual C++ .NET
 *
 * (c) Copyright 2000-2005 by Riverblade Limited (UK). All rights reserved.
 *
 ************************************************************************
 *                                                                       
 *  Description : CAboutBoxCommandHandler - Handles the ResOrg "View
 *                Toolwindow" command.
 *
 *  Compiler    : Microsoft Visual C++ .NET 2003
 *                                                                       
 *  Target                                                               
 *  Environment : Windows 2000/XP/Vista;
 *                Visual Studio 2002, 2003 or 2005
 *
 *  NOTE:
 *
 *    This software is provided "as is". All title and copyrights in and
 *    to the software, including but not limited to any images, text etc.
 *    etc. incorporated into it, are the property of Anna-Jayne Metcalfe
 *    and Riverblade Limited, except where acknowledged otherwise.
 *
 *    Your may freely use this code in your own products, PROVIDED
 *    this notice is not removed or modified.
 *
 *    Please visit http://www.riverblade.co.uk/products/resorg or email 
 *    support@riverblade.co.uk for latest updates and product support 
 *
 ************************************************************************
 *
 *   MODIFICATION HISTORY:
 *
 *           This is a controlled document. See project configuration
 *           control tool for latest version and full version history.
 *
 *    $Archive: /Projects/AddIns/ResOrg/ResOrgNETAddIn/ViewToolWindowCommandHandler.h $
 *   $Revision: 1 $
 *       $Date: 16/10/05 17:23 $
 *     $Author: Anna $
 *
 *    $History: ViewToolWindowCommandHandler.h $
 * 
 * *****************  Version 1  *****************
 * User: Anna         Date: 16/10/05   Time: 17:23
 * Created in $/Projects/AddIns/ResOrg/ResOrgNETAddIn
 * 
 * 
 * $Nokeywords: $
 *
 ************************************************************************/

#pragma once

#include "AddInCommandHandler.h"



class CViewToolWindowCommandHandler : public CAddInCommandHandler
{
	// Construction/destruction
	public:
				CViewToolWindowCommandHandler(	const CComPtr<EnvDTE::_DTE>& pDTE,
												const _bstr_t& bsCommandName,
												const EnvDTE::WindowPtr& ptrToolWindow);

				~CViewToolWindowCommandHandler(void);


	// Data members
	protected:
				EnvDTE::WindowPtr		m_ptrToolWindow;



	// Virtual overrides
	public:
		virtual	HRESULT					QueryStatus(	BSTR bstrCmdName,
														EnvDTE::vsCommandStatusTextWanted NeededText,
														EnvDTE::vsCommandStatus* pStatusOption,
														VARIANT* pvarCommandText);

		virtual	HRESULT					Exec(			BSTR bstrCmdName,
														EnvDTE::vsCommandExecOption ExecuteOption,
														VARIANT* pvarVariantIn,
														VARIANT* pvarVariantOut,
														VARIANT_BOOL* pvbHandled);

	// Implementation
	protected:
};

⌨️ 快捷键说明

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