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

📄 resorgaddinapp.h

📁 一个vc中管理资源文件ID的插件
💻 H
字号:
#ifndef __ResOrgAddInApp_H__
#define __ResOrgAddInApp_H__
/************************************************************************
 *
 *                   Resource ID Organiser Add-In
 *
 *       (c) Copyright 2000-2001 by Andy Metcalfe (andy.metcalfe@lineone.net)
 *                         All rights reserved.
 *
 ************************************************************************
 *                                                                       
 *  Filename    : ResOrgAddInApp.h
 *
 *  Description : CResOrgAddInApp - application class
 *
 *  Compiler    : Microsoft Visual C++ 6.0, Service Pack 3 or 4
 *                                                                       
 *  Target                                                               
 *  Environment : Windows 98/NT
 *
 *  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 Andy 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.resorg.co.uk 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/ResOrgAddIn/ResOrgAddInApp.h $
 *   $Revision: 9 $
 *       $Date: 3/07/01 20:25 $
 *     $Author: Andy $
 *
 *    $History: ResOrgAddInApp.h $
 * 
 * *****************  Version 9  *****************
 * User: Andy         Date: 3/07/01    Time: 20:25
 * Updated in $/Projects/AddIns/ResOrg/ResOrgAddIn
 * 1.  Added Discussion Board to the Help Menu
 * 2.  ResOrg on the Web commands are now disabled if no URL is available
 * 3.  Web windows are now opened in a CChildFrame window so that the
 * first instance is maximised
 * 
 * *****************  Version 8  *****************
 * User: Andy         Date: 22/06/01   Time: 10:03
 * Updated in $/Projects/AddIns/ResOrg/ResOrgAddIn
 * Made class declaration "Rose friendly"
 * 
 * *****************  Version 7  *****************
 * User: Andy         Date: 2/06/01    Time: 19:48
 * Updated in $/Projects/AddIns/ResOrg/ResOrgAddIn
 * Added "Close all windows" command (was in the MainFrame before)
 * 
 * *****************  Version 6  *****************
 * User: Andy         Date: 26/05/01   Time: 17:23
 * Updated in $/Projects/AddIns/ResOrg/ResOrgAddIn
 * 1.  Improved help support
 * 2.  Added Mailing List prompt
 * 
 * *****************  Version 5  *****************
 * User: Andy         Date: 22/05/01   Time: 6:52
 * Updated in $/Projects/AddIns/ResOrg/ResOrgAddIn
 * 1.  Added "ResOrg Mailing List" command to the Help Menu
 * 2.  Tidied up initialisation of document templates
 * 3.  Moved initialisation of "Options" to OnConnection()
 * 4.  Added a call to Options.OnExit() to ExitInstance()
 * 
 * *****************  Version 4  *****************
 * User: Andy         Date: 26/04/01   Time: 19:43
 * Updated in $/Projects/AddIns/ResOrg/ResOrgAddIn
 * Added additional "ResOrg on the Web" commands
 * 
 * *****************  Version 3  *****************
 * User: Andy         Date: 5/12/00    Time: 20:40
 * Updated in $/Projects/AddIns/ResOrg/ResOrgAddIn
 * 1.  Added "ResOrg on the Web" support
 * 2.  Raised version to 1.2.1
 * 
 * *****************  Version 2  *****************
 * User: Andy         Date: 29/11/00   Time: 18:37
 * Updated in $/Projects/AddIns/ResOrg/ResOrgAddIn
 * 1.  Moved Office2KDlg code to its own DLL
 * 2.  Added file banners
 *
 * $Nokeywords: $
 *
 ************************************************************************/

/////////////////////////////////////////////////////////////////////////////
// CResOrgAddInApp


class CWorkspaceHelper;

extern CWorkspaceHelper	Workspace;


#define CResOrgAddInApp_BASE	CWinApp

class CResOrgAddInApp : public	CWinApp
{
public:
			CResOrgAddInApp(void);

	virtual	~CResOrgAddInApp(void);


// Attributes
public:
			CMultiDocTemplate*		m_pMainDocTemplate;
			CMultiDocTemplate*		m_pHtmlDocTemplate;

// Operations
public:
	virtual	void					OnConnection(void);
	virtual	void					OnDisconnection(void);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CResOrgAddInApp)
	public:
	virtual BOOL					InitInstance(void);
	virtual int						ExitInstance(void);
	virtual BOOL					OnIdle(LONG lCount);
	//}}AFX_VIRTUAL


// Implementation:
protected:
			void					OpenHtmlView(	const CString& sTitle,
													const CString& sURL);

			BOOL					CloseOpenDocuments(void);

	//{{AFX_MSG(CResOrgAddInApp)
	afx_msg	void					OnFileNew(void);
	afx_msg	void					OnCmdResOrgWebsite(void);
	afx_msg	void					OnCmdResOrgFAQ(void);
	afx_msg	void					OnUpdateResOrgFAQ(CCmdUI* pCmdUI);
	afx_msg	void					OnCmdResOrgDiscussionBoard(void);
	afx_msg	void					OnUpdateResOrgDiscussionBoard(CCmdUI* pCmdUI);
	afx_msg	void					OnCmdResOrgKnownBugs(void);
	afx_msg	void					OnUpdateResOrgKnownBugs(CCmdUI* pCmdUI);
	afx_msg	void					OnCmdResOrgMailingList(void);
	afx_msg	void					OnUpdateResOrgMailingList(CCmdUI* pCmdUI);
	afx_msg	void					OnCmdAbout(void);
	afx_msg	void					OnCmdOptions(void);
	afx_msg	void					OnCmdWindowCloseAll(void);
	afx_msg	void					OnUpdateWindowCloseAll(CCmdUI* pCmdUI);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

			CResOrgAddInApp*		GetApp(void);


#endif

⌨️ 快捷键说明

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