ETNoticeWnd.h
727 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
#pragma once
#include "resource.h"
#include "afxwin.h"
#include "ETNoticeEdit.h"
// CETNoticeWnd 对话框
class CETNoticeWnd : public CDialogEx
{
DECLARE_DYNAMIC(CETNoticeWnd)
public:
CETNoticeWnd(CWnd* pParent = NULL); // 标准构造函数
virtual ~CETNoticeWnd();
// 对话框数据
enum { IDD = IDD_DIALOG_NOTICEWND };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
DECLARE_MESSAGE_MAP()
public:
void SetWindowText(CString sText);
void CloseNoticeWnd();
void ReSizeEdit();
private:
CETNoticeEdit m_editNotice;
CETNoticeEdit m_editMark;
CString m_sText;
CFont m_fontText;
CFont m_fontMark;
public:
virtual BOOL OnInitDialog();
afx_msg void OnSize(UINT nType, int cx, int cy);
};