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

📄 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 for Visual C++.NET
 *
 * (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++ 7.0
 *                                                                       
 *  Target                                                               
 *  Environment : Windows 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/ResOrgNETAddIn/MainFrame.h $
 *   $Revision: 6 $
 *       $Date: 25/11/02 15:27 $
 *     $Author: Anna $
 *
 *    $History: MainFrame.h $
 * 
 * *****************  Version 6  *****************
 * User: Anna         Date: 25/11/02   Time: 15:27
 * Updated in $/Projects/AddIns/ResOrg/ResOrgNETAddIn
 * Changed website address in banner
 * 
 * *****************  Version 5  *****************
 * User: Anna         Date: 22/10/02   Time: 14:15
 * Updated in $/Projects/AddIns/ResOrg/ResOrgNETAddIn
 * Changed name/email address (at last!)
 * 
 * *****************  Version 4  *****************
 * User: Andy         Date: 6/08/02    Time: 10:42
 * Updated in $/Projects/AddIns/ResOrg/ResOrgNETAddIn
 * Reverted back to the VC6 way of displaying the main window - I've been
 * unable to find an alternative which works well
 * 
 * *****************  Version 3  *****************
 * User: Andy         Date: 1/08/02    Time: 16:44
 * Updated in $/Projects/AddIns/ResOrg/ResOrgNETAddIn
 * Further development of ResOrg.NET - particularly the tool window
 * 
 * *****************  Version 2  *****************
 * User: Andy         Date: 10/06/02   Time: 17:15
 * Updated in $/Projects/AddIns/ResOrg/ResOrgAddInVc7
 * Woohoo! Activated the Projects Display
 * 
 * *****************  Version 1  *****************
 * User: Andy         Date: 7/06/02    Time: 22:28
 * Created in $/Projects/AddIns/ResOrg/ResOrgAddInVc7
 *
 * $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;
			HWND					m_hwndVisualStudio;



// Operations
public:
			bool					SetVisualStudioMainWnd(HWND hwndVisualStudio);

			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(void);

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

protected:
			HWND					FindVisualStudioMainWnd(void) const;

// Generated message map functions
protected:
	//{{AFX_MSG(CMainFrame)
	afx_msg int						OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg	LRESULT					OnKickIdle(WPARAM, LPARAM lCount);
	afx_msg	LRESULT					OnMsgShowMainWindow(WPARAM wParam, LPARAM lParam);
	afx_msg	LRESULT					OnMsgDoModal(WPARAM wParam, LPARAM lParam);
	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 + -