-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMsgDialog.cpp
More file actions
44 lines (35 loc) · 795 Bytes
/
Copy pathMsgDialog.cpp
File metadata and controls
44 lines (35 loc) · 795 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
// MsgDialog.cpp : 实现文件
//
#include "stdafx.h"
#include "AutoUpdate.h"
#include "MsgDialog.h"
#include ".\msgdialog.h"
// CMsgDialog 对话框
IMPLEMENT_DYNAMIC(CMsgDialog, CDialog)
CMsgDialog::CMsgDialog(CWnd* pParent /*=NULL*/)
: CDialog(CMsgDialog::IDD, pParent)
{
}
CMsgDialog::~CMsgDialog()
{
}
void CMsgDialog::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
}
BEGIN_MESSAGE_MAP(CMsgDialog, CDialog)
ON_WM_PAINT()
ON_WM_ERASEBKGND()
END_MESSAGE_MAP()
void CMsgDialog::OnPaint()
{
CPaintDC dc(this); // device context for painting
// TODO: 在此处添加消息处理程序代码
// 不为绘图消息调用 CDialog::OnPaint()
}
BOOL CMsgDialog::OnEraseBkgnd(CDC* pDC)
{
// TODO: 在此添加消息处理程序代码和/或调用默认值
return TRUE;
//return CDialog::OnEraseBkgnd(pDC);
}