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

📄 addinwindowmanager.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 : CAddInWindowManager - Manages the ResOrg toolwindow
 *
 *  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/AddInWindowManager.h $
 *   $Revision: 1 $
 *       $Date: 22/10/05 11:07 $
 *     $Author: Anna $
 *
 *    $History: AddInWindowManager.h $
 * 
 * *****************  Version 1  *****************
 * User: Anna         Date: 22/10/05   Time: 11:07
 * Created in $/Projects/AddIns/ResOrg/ResOrgNETAddIn
 * 
 * $Nokeywords: $
 *
 ************************************************************************/

#pragma once



#include "MainToolWindowCtrl.h"




class CAddInWindowManager : public CWindowImpl<CAddInWindowManager, CWindow>
{
	// Construction/destruction
	public:
					CAddInWindowManager(void);

		explicit CAddInWindowManager(const CComPtr<EnvDTE::_DTE>& pDTE);

		virtual	~CAddInWindowManager(void);


	// Data members
	protected:
				CComPtr<EnvDTE::_DTE>		m_pDTE;
				CComPtr<EnvDTE::AddIn>		m_pAddInInstance;

				EnvDTE::WindowPtr			m_ptrMainToolWindow;

				CComPtr<IMainToolWindowCtrl>
											m_pMainToolWindowCtrl;


	// Operations
	public:
				HRESULT						OnConnection(	const CComPtr<EnvDTE::_DTE>& pDTE,
															const CComPtr<EnvDTE::AddIn>& pAddInInstance);

				HRESULT						OnDisconnection(AddInDesignerObjects::ext_DisconnectMode eRemoveMode);


				// Tool window interfacing methods
				EnvDTE::WindowPtr			GetMainToolWindow(void) const
												{ return m_ptrMainToolWindow; }


				CComPtr<IMainToolWindowCtrl>
											GetMainToolWindowCtrl(void) const
												{ return m_pMainToolWindowCtrl; }

				bool						CreateToolWindows(void);


	// Message map
	protected:
				BEGIN_MSG_MAP(CAddInWindowManager)
				END_MSG_MAP()

	// Message handlers
	protected:


	// Implementation
	protected:
};

⌨️ 快捷键说明

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