-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathAppWnd.hpp
More file actions
63 lines (50 loc) · 1.16 KB
/
Copy pathAppWnd.hpp
File metadata and controls
63 lines (50 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
////////////////////////////////////////////////////////////////////////////////
//! \file AppWnd.hpp
//! \brief The AppWnd class declaration.
//! \author Chris Oldwood
// Check for previous inclusion
#ifndef APP_APPWND_HPP
#define APP_APPWND_HPP
#if _MSC_VER > 1000
#pragma once
#endif
#include <WCL/DlgFrame.hpp>
#include "AppDlg.hpp"
#include <WCL/FrameMenu.hpp>
#include <WCL/StatusBar.hpp>
#include <WCL/Accel.hpp>
////////////////////////////////////////////////////////////////////////////////
//! The application main window.
class AppWnd : public CDlgFrame
{
public:
//! Constructor.
AppWnd();
//! Destructor.
virtual ~AppWnd();
//
// Public Members.
//
AppDlg m_mainView; //!< The main dialog.
CFrameMenu m_menu; //!< The main menu.
CStatusBar m_statusBar; //!< The status bar.
private:
//
// Internal members.
//
CAccel m_accelTable; //!< The accelerator table.
// Child window IDs.
enum
{
IDC_TOOL_BAR = 100,
IDC_STATUS_BAR = 101
};
//
// Message processors.
//
//! Handle window creation.
virtual void OnCreate(const CRect& clientRect);
//! Handle the window closing.
virtual void OnClose();
};
#endif // APP_APPWND_HPP