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

📄 resorgmoduleslistctrl.h

📁 ResOrg 图形化管理Vc项目的资源ID的工具的源代码。 ResOrg - Manage and Renumber Resource Symbol IDs Introduction The
💻 H
字号:
/************************************************************************
 *
 *                 Resource ID Organiser Core Library
 *
 * (c) Copyright 2000-2003 by Anna-Jayne Metcalfe (resorg@annasplace.me.uk)
 *                         All rights reserved.
 *
 ************************************************************************
 *                                                                       
 *  Filename    : ResOrgModulesListCtrl.h
 *
 *  Description : CResOrgModulesListCtrl - List control class to display
 *                loaded modules for the About Box
 *                
 *  Compiler    : Microsoft Visual C++ 6.0, Service Pack 3 or later
 *                Microsoft Visual C++ ,NET 2002
 *                                                                       
 *  Target                                                               
 *  Environment : Windows 98/NT/2000/XP
 *
 *  NOTE:
 *
 *    This software is provided "as is" free for personal use. All
 *    title and copyrights in and to the software, including but not
 *    limited to any images, text, etc. incorporated into it, are
 *    owned by Anna-Jayne Metcalfe, except where acknowledged otherwise.
 *
 *    Your may freely to use this code in your own products, PROVIDED
 *    this notice is not removed or modified.
 *
 *
 *    Visit http://www.annasplace.me.uk/resorg for latest updates
 *
 ************************************************************************
 *
 *   MODIFICATION HISTORY:
 *
 *           This is a controlled document. See project configuration
 *           control tool for latest version and full version history.
 *
 *    $Archive: /Projects/AddIns/ResOrg/ResOrgCore/ResOrgModulesListCtrl.h $
 *   $Revision: 10 $
 *       $Date: 15/04/03 20:37 $
 *     $Author: Anna $
 *
 *    $History: ResOrgModulesListCtrl.h $
 * 
 * *****************  Version 10  *****************
 * User: Anna         Date: 15/04/03   Time: 20:37
 * Updated in $/Projects/AddIns/ResOrg/ResOrgCore
 * 1.  Removed unnecessary file guards (#pragma once works well enough)
 * 2.  Updated file banners
 * 
 * *****************  Version 9  *****************
 * User: Anna         Date: 25/11/02   Time: 15:13
 * Updated in $/Projects/AddIns/ResOrg/ResOrgCore
 * Changed website address in banner
 * 
 * *****************  Version 8  *****************
 * User: Anna         Date: 22/10/02   Time: 13:24
 * Updated in $/Projects/AddIns/ResOrg/ResOrgCore
 * Changed name/mail address (at last!)
 * 
 * *****************  Version 7  *****************
 * User: Andy         Date: 12/06/02   Time: 22:49
 * Updated in $/Projects/AddIns/ResOrg/ResOrgCore
 * Moved the class from the NGLibrary module (it's too specific to be
 * there)
 *
 * $Nokeywords: $
 *
 ************************************************************************/

#pragma once


/////////////////////////////////////////////////////////////////////////////
// CResOrgModulesListCtrl window

#define CResOrgModulesListCtrl_BASE							CCJListCtrl

class RESORGCORE_EXT_CLASS	CResOrgModulesListCtrl : public	CCJListCtrl
{
// Construction
public:
			CResOrgModulesListCtrl(void);

	virtual ~CResOrgModulesListCtrl(void);


// Attributes
protected:
			AFX_MODULE_STATE*		m_pState;


// Operations
public:
			bool					Initialise(AFX_MODULE_STATE* pState);

			void					Refresh(void);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CResOrgModulesListCtrl)
	protected:
	virtual void					PreSubclassWindow(void);
	//}}AFX_VIRTUAL

	virtual	bool					SortList(int nColumn, bool bAscending);


// Implementation
protected:

	// Internal data types
	struct CModuleInfo
	{
		CString				sModuleName;

		CString				sTimeStamp;
		CString				sFileDesc;
		CString				sFileVersion;
		CString				sProductVersion;
		CString				sVendor;

#if _MSC_VER >= 1300
		ULONGLONG			nSize;
#else
		LONG				nSize;
#endif
		BOOL				bDebug;
		CTime				timeCreated;
		CTime				timeModified;

		VS_FIXEDFILEINFO	VersionInfo;
	};


	typedef CArray<CModuleInfo, CModuleInfo&> CModuleInfoArray;



			void					Initialise(void);

			int						GetModuleInfo(CModuleInfoArray& rarrayModules);
		
			void					GetModuleInfo(HMODULE hModule, CModuleInfo& rInfo) const;


	// Generated message map functions
protected:
	//{{AFX_MSG(CResOrgModulesListCtrl)
	afx_msg int						OnCreate(LPCREATESTRUCT lpCreateStruct);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

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

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

⌨️ 快捷键说明

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