ETNoticeWnd.h 727 Bytes
#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);
};