messageviewerdialog.h

来自「本代码为使用vc平台开发stk软件x插件的一个范例。」· C头文件 代码 · 共 58 行

H
58
字号
/******************************************************************************/
/*****       Copyright 2004-2004, Analytical Graphics, Incorporated.      *****/
/******************************************************************************/
#if !defined(AFX_MESSAGEVIEWERDIALOG_H__A9AE4E33_EDEF_4D47_8D54_8304BD8BBD6F__INCLUDED_)
#define AFX_MESSAGEVIEWERDIALOG_H__A9AE4E33_EDEF_4D47_8D54_8304BD8BBD6F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MessageViewerDialog.h : header file
//

#include "agpickinfodata.h"

/////////////////////////////////////////////////////////////////////////////
// CMessageViewerDialog dialog

class CMessageViewerDialog : public CDialog
{
// Construction
public:
	CMessageViewerDialog(CWnd* pParent = NULL);   // standard constructor

	void AddMessage(/*const*/ CAgPickInfoData& pickInfoData);
	void AddMessage(const CString& msg);

// Dialog Data
	//{{AFX_DATA(CMessageViewerDialog)
	enum { IDD = IDD_MESSAGE_VIEWER };
	CRichEditCtrl	m_MessageText;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMessageViewerDialog)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CMessageViewerDialog)
	afx_msg void OnSize(UINT nType, int cx, int cy);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MESSAGEVIEWERDIALOG_H__A9AE4E33_EDEF_4D47_8D54_8304BD8BBD6F__INCLUDED_)
/******************************************************************************/
/*****       Copyright 2004-2004, Analytical Graphics, Incorporated.      *****/
/******************************************************************************/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?