1 // studiox.h : main header file for the studiox application 2 // 3 #pragma once 4 5 #ifndef __AFXWIN_H__ 6 #error "include 'stdafx.h' before including this file for PCH" 7 #endif 8 9 #include "resource.h" // main symbols 10 11 12 // CstudioxApp: 13 // See studiox.cpp for the implementation of this class 14 // 15 16 class CstudioxApp : public CWinApp 17 { 18 public: 19 CstudioxApp(); 20 21 22 // Overrides 23 public: 24 void DeleteSystemFonts(); 25 void CreateSystemFonts(); 26 virtual BOOL InitInstance(); 27 virtual int ExitInstance(); 28 29 // Implementation 30 afx_msg void OnAppAbout(); 31 afx_msg void OnUsersGuide(); 32 afx_msg void OnProjectNew(); 33 afx_msg void OnProjectOpen(); 34 afx_msg void OnProjectSave(); 35 afx_msg void OnProjectSaveAs(); 36 afx_msg void OnProjectClose(); 37 afx_msg void OnProjectMerge(); 38 DECLARE_MESSAGE_MAP() 39 40 private: 41 CFrameWnd *CreateMainFrame(); 42 GdiplusStartupInput gdiplusStartupInput; 43 ULONG_PTR gdiplusToken; 44 }; 45 46 extern CstudioxApp theApp;