Merge branch 'master' of git.ucc.asn.au:/matches/honours
[matches/honours.git] / research / transmission_spectroscopy / TOF / Win32++ / samples / DirectX / src / Mainfrm.h
1 /////////////////////////////////////////////\r
2 // Mainfrm.h\r
3 \r
4 #ifndef MAINFRM_H\r
5 #define MAINFRM_H\r
6 \r
7 #include "View.h"\r
8 \r
9 // User defined window message\r
10 #define UWM_VIEWCREATED         (WM_APP + 1)    // Message - posted when view window is created\r
11 \r
12 // Declaration of the CMainFrame class\r
13 class CMainFrame : public CFrame\r
14 {\r
15 public:\r
16         CMainFrame(void);\r
17         virtual ~CMainFrame();\r
18 \r
19 protected:\r
20         virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);\r
21         virtual void OnCreate();\r
22         virtual void OnFileOpen();\r
23         virtual void OnFilePrint();\r
24         virtual void OnFileSave();\r
25         virtual void OnInitialUpdate();\r
26         virtual LRESULT OnNotify(WPARAM wParam, LPARAM lParam);\r
27         virtual void SetupToolBar();\r
28         virtual LRESULT WndProc(UINT uMsg, WPARAM wParam, LPARAM lParam);\r
29 \r
30 private:\r
31         CView m_View;\r
32 };\r
33 \r
34 #endif //MAINFRM_H\r
35 \r

UCC git Repository :: git.ucc.asn.au