1
// mainfrm.h : interface of the CMainFrame class
3
/////////////////////////////////////////////////////////////////////////////
6
* Copyright (C) 2004 Nigel Horne <njh@bandsman.co.uk>
8
* This program is free software; you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation; either version 2 of the License, or
11
* (at your option) any later version.
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
18
* You should have received a copy of the GNU General Public License
19
* along with this program; if not, write to the Free Software
20
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
25
class CMainFrame : public CFrameWnd
27
protected: // create from serialization only
29
DECLARE_DYNCREATE(CMainFrame)
36
void ChangeStatusText(const CString &text);
39
// ClassWizard generated virtual function overrides
40
//{{AFX_VIRTUAL(CMainFrame)
45
virtual ~CMainFrame();
47
virtual void AssertValid() const;
48
virtual void Dump(CDumpContext& dc) const;
51
protected: // control bar embedded members
52
CStatusBar m_wndStatusBar;
53
CToolBar m_wndToolBar;
55
// Generated message map functions
57
//{{AFX_MSG(CMainFrame)
58
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
59
afx_msg void OnDropFiles(HDROP hDropInfo);
68
/////////////////////////////////////////////////////////////////////////////