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

📄 mainframe.h

📁 ResOrg 图形化管理Vc项目的资源ID的工具的源代码。 ResOrg - Manage and Renumber Resource Symbol IDs Introduction The
💻 H
字号:
#if !defined(__MainFrame_H__)
#define __MainFrame_H__
/************************************************************************
 *
 *                   Resource ID Organiser Add-In
 *
 * (c) Copyright 2000-2002 by Anna-Jayne Metcalfe (resorg@annasplace.me.uk)
 *                         All rights reserved.
 *
 ************************************************************************
 *                                                                       
 *  Filename    : MainFrame.h
 *
 *  Description : CMainFrame - MDI main frame window class
 *
 *  Compiler    : Microsoft Visual C++ 6.0, Service Pack 3 or later
 *                                                                       
 *  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/ResOrgAddIn/MainFrame.h $
 *   $Revision: 11 $
 *       $Date: 25/11/02 16:52 $
 *     $Author: Anna $
 *
 *    $History: MainFrame.h $
 * 
 * *****************  Version 11  *****************
 * User: Anna         Date: 25/11/02   Time: 16:52
 * Updated in $/Projects/AddIns/ResOrg/ResOrgAddIn
 * Changed website address in banner
 * 
 * *****************  Version 10  *****************
 * User: Anna         Date: 22/10/02   Time: 13:34
 * Updated in $/Projects/AddIns/ResOrg/ResOrgAddIn
 * Changed name/mail address (at last!)
 * 
 * *****************  Version 9  *****************
 * User: Andy         Date: 1/25/02    Time: 2:50p
 * Updated in $/Projects/AddIns/ResOrg/ResOrgAddIn
 * Added CMainFrame::ShowWorkspace()
 * 
 * *****************  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: 16:51
 * Updated in $/Projects/AddIns/ResOrg/ResOrgAddIn
 * Moved common functionality to a new class (CResOrgMDIFrameWnd) in
 * ResOrgUtils
 * 
 * *****************  Version 6  *****************
 * User: Andy         Date: 26/05/01   Time: 17:22
 * Updated in $/Projects/AddIns/ResOrg/ResOrgAddIn
 * 1.  Removed help message handlers (these have been moved to the app)
 * 2.  Set the ID of the Projects View so we can link in the topic for
 * context help
 * 
 * *****************  Version 5  *****************
 * User: Andy         Date: 5/03/01    Time: 19:03
 * Updated in $/Projects/AddIns/ResOrg/ResOrgAddIn
 * Added "Close All" command to the Window menu
 * 
 * *****************  Version 4  *****************
 * User: Andy         Date: 2/03/01    Time: 17:33
 * Updated in $/Projects/AddIns/ResOrg/ResOrgAddIn
 * Removed unnecessary code
 * 
 * *****************  Version 3  *****************
 * User: Andy         Date: 17/02/01   Time: 7:07
 * Updated in $/Projects/AddIns/ResOrg/ResOrgAddIn
 * CResOrgSymbolsView => CResOrgSymbolsListView
 * 
 * *****************  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: $
 *
 ************************************************************************/

// MainFrame.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////


#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CResOrgProjectsDoc;
class CResOrgSymbolsListView;


#define CMainFrame_BASE		CResOrgMDIFrameWnd

class CMainFrame : public	CResOrgMDIFrameWnd
{
			DECLARE_DYNCREATE(CMainFrame)
	
public:
			CMainFrame(void);

	virtual ~CMainFrame(void);


// Attributes
protected:
			CResOrgProjectsDoc*		m_pProjectsDoc;
			CImageList				m_TabImages;
			CCJWindowPlacement		m_state;

			// Control bar embedded members
			CCJTabCtrlBar			m_wndWorkspace;

			// The following are required to implement DoModal()
			int						m_nModalResult;
			HWND					m_hWndTop;

// Operations
public:
			void					ShowWorkspace(BOOL bShow);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMainFrame)
	public:
	virtual BOOL					OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo);
	//}}AFX_VIRTUAL

	virtual	int						DoModal(HWND hWndDevStudio);

protected:
	virtual	void					PreModal(void);
	virtual	void					PostModal(void);


// Implementation
public:
#ifdef _DEBUG
	virtual void					AssertValid(void) const;
	virtual void					Dump(CDumpContext& dc) const;
#endif



// Generated message map functions
protected:
	//{{AFX_MSG(CMainFrame)
	afx_msg int						OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg	LRESULT					OnKickIdle(WPARAM, LPARAM lCount);
	afx_msg void					OnClose(void);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(__MainFrame_H__)

⌨️ 快捷键说明

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