|
/************************************************************************
*
* Resource ID Organiser Core Library
*
* (c) Copyright 2000-2003 by Anna-Jayne Metcalfe (resorg@annasplace.me.uk)
* All rights reserved.
*
************************************************************************
*
* Filename : ResourceSymbolFilesPage.h
*
* Description : CResourceSymbolFilesPage - "File" page for
* resource symbol file properties (used as the first
* page of the File Properties Dialog when multiple files
* are opened)
*
* 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/ResourceSymbolFilesPage.h $
* $Revision: 4 $
* $Date: 15/04/03 20:34 $
* $Author: Anna $
*
* $History: ResourceSymbolFilesPage.h $
*
* ***************** Version 4 *****************
* User: Anna Date: 15/04/03 Time: 20:34
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* Removed unnecessary file guards (#pragma once works well enough)
*
* ***************** Version 3 *****************
* User: Anna Date: 26/03/03 Time: 14:12
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* CResourceSymbolFilesPage now disables the "Remove" button where
* appropriate to prevent you from removing the last file (a very bad
* idea, trust me)
*
* ***************** Version 2 *****************
* User: Anna Date: 28/01/03 Time: 21:19
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* Improved multi-file support by allowing files to be Added/Removed from
* a multi-file display via the File Properties Dialog
*
* ***************** Version 1 *****************
* User: Anna Date: 19/01/03 Time: 17:23
* Created in $/Projects/AddIns/ResOrg/ResOrgCore
* CResourceSymbolFilesPage - "File" page for resource symbol file
* properties (used as the first page of the File Properties Dialog when
* multiple files are opened)
*
* $Nokeywords: $
*
************************************************************************/
#pragma once
class CResourceSymbolManagerMultiFile;
#include "ResourceSymbolFilePropertyPage.h"
#include "ResOrgSymbolFilesListCtrl.h"
/////////////////////////////////////////////////////////////////////////////
// CResourceSymbolFilesPage property page
#define CResourceSymbolFilesPage_BASE CResourceSymbolFilePropertyPage
class CResourceSymbolFilesPage : public CResourceSymbolFilePropertyPage
{
DECLARE_DYNAMIC(CResourceSymbolFilesPage)
// Construction/destruction
public:
CResourceSymbolFilesPage(void);
virtual ~CResourceSymbolFilesPage(void);
// Dialog Data
//{{AFX_DATA(CResourceSymbolFilesPage)
enum { IDD = IDD_SYM_FILE_FILES_PAGE };
CResOrgSymbolFilesListCtrl m_ctrlFiles;
//}}AFX_DATA
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CResourceSymbolFilesPage)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual BOOL OnInitDialog(void);
virtual BOOL OnSetActive(void);
//}}AFX_VIRTUAL
public:
// Implementation
protected:
void SetFile(CResourceSymbolManager* pMngr);
void SetAvailableControls(void);
// Generated message map functions
//{{AFX_MSG(CResourceSymbolFilesPage)
afx_msg void OnItemChangedFilesCtrl(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnClickedAddFile(void);
afx_msg void OnClickedRemoveFile(void);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I haven't always written software for a living. When I graduated from Surrey University in 1989, it was with an Electronic Engineering degree, but unfortunately that never really gave me the opportunity to do anything particularly interesting (with the possible exception of designing
Darth Vader's Codpiece * for the UK Army in 1990).
* Also known as the Standard Army Bootswitch. But that's another story...
Since the opportunity arose to lead a software team developing C++ software for
Avionic Test Systems in 1996, I've not looked back. More recently I've been involved in the development of subsea acoustic navigation systems, digital TV broadcast systems, port security/tracking systems, and most recently software development tools with my own company,
Riverblade Ltd.
One of my personal specialities is IDE plug-in development.
ResOrg was my first attempt at a plug-in, but my day to day work is with
Visual Lint, an interactive code analysis tool environment with works within the Visual Studio and Eclipse IDEs or on build servers.
I love lots of things, but particularly music, photography and anything connected with history or engineering. I
despise ignorant, intolerant and obstructive people - and it shows...I can be a bolshy cow if you wind me up the wrong way...
I'm currently based 15 minutes walk from the beach in Bournemouth on the south coast of England. Since I moved here I've grown to love the place - even if it is full of grockles in Summer!