Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
MainFrm.h
Go to the documentation of this file.
1 // MainFrm.h : interface of the MainFrame class
2 //
4 
5 #if !defined(AFX_MAINFRM_H__F5D788D5_8FA2_4A6B_94F0_7938C797BE5D__INCLUDED_)
6 #define AFX_MAINFRM_H__F5D788D5_8FA2_4A6B_94F0_7938C797BE5D__INCLUDED_
7 
8 #if _MSC_VER > 1000
9 #pragma once
10 #endif // _MSC_VER > 1000
11 
12 class MainFrame : public CFrameWnd
13 {
14 
15 protected: // create from serialization only
16  MainFrame();
17  DECLARE_DYNCREATE(MainFrame)
18 
19 // Attributes
20 public:
22 
23 // Operations
24 public:
25  static void StatusXY(const char* xy);
26 
27 // Overrides
28  // ClassWizard generated virtual function overrides
29  //{{AFX_VIRTUAL(MainFrame)
30  virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
31  //}}AFX_VIRTUAL
32 
33 // Implementation
34 public:
35  virtual ~MainFrame();
36 #ifdef _DEBUG
37  virtual void AssertValid() const;
38  virtual void Dump(CDumpContext& dc) const;
39 #endif
40 
41 protected: // control bar embedded members
42  CStatusBar m_wndStatusBar;
43  CToolBar m_wndToolBar;
44 
45  virtual BOOL OnWndMsg(UINT message, WPARAM wParam, LPARAM lParam, LRESULT* pResult);
46 
47 // Generated message map functions
48 protected:
49  //{{AFX_MSG(MainFrame)
50  afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
51  afx_msg void OnActivateApp(BOOL bActive, DWORD dwThreadID);
52  afx_msg void OnRender();
53  //}}AFX_MSG
54  DECLARE_MESSAGE_MAP()
55 };
56 
58 
59 //{{AFX_INSERT_LOCATION}}
60 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
61 
62 #endif // !defined(AFX_MAINFRM_H__F5D788D5_8FA2_4A6B_94F0_7938C797BE5D__INCLUDED_)