|
#pragma once
#ifndef __AFXWIN_H__
#error "include 'stdafx.h' before including this file for PCH"
#endif
#include "resource.h" // main symbols
//-------------------------------------------------------------------------------------
class CMy002App : public CWinApp,
public FCAutoInitGDIPlus
{
public:
CBitmap m_canvas_back ;
CString GetText (LPCTSTR strSection, LPCTSTR strKey) ;
CString GetText (LPCTSTR strSection, int nKey) ;
void InitMenuLanguageText (HMENU hRootMenu) ;
CString GetMenuPureText (int nMenuCommand) ;
private:
CString m_language_file ;
private:
void CreateLanguageFile() ;
void CreateCanvasBack() ;
virtual BOOL InitInstance();
virtual int ExitInstance();
afx_msg void OnOpenHome();
afx_msg void OnFileOpen();
DECLARE_MESSAGE_MAP()
};
extern CMy002App theApp;
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
graduate from University of Science and Technology of China at 2002.
Now I work at www.phoxo.com.