📄 showmsgdlg.h
字号:
/** \file ShowMsgDlg.h
\brief 消息显示对话框:类似FoxMail收发邮件的信息框
\brief http://www.zhugang.net
\author zhugang
\date 2004-4
\warning
\todo
*/
#if !defined(AFX_SHOWMSGDLG_H__858785D5_AE2F_48B0_A963_336C396CA45C__INCLUDED_)
#define AFX_SHOWMSGDLG_H__858785D5_AE2F_48B0_A963_336C396CA45C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ShowMsgDlg.h : header file
//
#include "Resource.h"
/////////////////////////////////////////////////////////////////////////////
// CShowMsgDlg dialog
class CShowMsgDlg : public CDialog
{
// Construction
public:
void CloseMsg(BOOL bAntimate=TRUE);
CString m_strText;
CString m_strTitle;
CShowMsgDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CShowMsgDlg)
enum { IDD = IDD_DIALOG_MSG };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CShowMsgDlg)
public:
virtual BOOL DestroyWindow();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
UINT mi_TimerClose;
CFont m_TitleFont;
CFont m_TextFont;
int mi_ScreenX;
int mi_ScreenY;
int mi_WndWidth;
int mi_WndHeight;
int mi_Height;
UINT mi_TimerResize;
// Generated message map functions
//{{AFX_MSG(CShowMsgDlg)
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SHOWMSGDLG_H__858785D5_AE2F_48B0_A963_336C396CA45C__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -