-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMy.h
More file actions
45 lines (33 loc) · 670 Bytes
/
Copy pathMy.h
File metadata and controls
45 lines (33 loc) · 670 Bytes
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
// My.h : My 应用程序的主头文件
//
#pragma once
#ifndef __AFXWIN_H__
#error "在包含此文件之前包含“stdafx.h”以生成 PCH 文件"
#endif
#include "resource.h" // 主符号
#include "mmsystem.h"
#include <stdlib.h>
#include <stdio.h>
#include <sstream>
// CMyApp:
// 有关此类的实现,请参阅 My.cpp
//
class CMyApp : public CWinAppEx
{
public:
CMyApp();
// 重写
public:
virtual BOOL InitInstance();
virtual int ExitInstance();
// 实现
public:
UINT m_nAppLook;
BOOL m_bHiColorIcons;
virtual void PreLoadState();
virtual void LoadCustomState();
virtual void SaveCustomState();
afx_msg void OnAppAbout();
DECLARE_MESSAGE_MAP()
};
extern CMyApp theApp;