insertinfordlg.cpp

来自「数据结构课程设计 图形界面 数据结构课程设计 图形界面 文本编辑器用MFC做」· C++ 代码 · 共 56 行

CPP
56
字号
// InsertInforDlg.cpp : implementation file
//

#include "stdafx.h"
#include "kecheng.h"
#include "InsertInforDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CInsertInforDlg dialog


CInsertInforDlg::CInsertInforDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CInsertInforDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CInsertInforDlg)
	m_insertinfor = _T("");
	//}}AFX_DATA_INIT
}


void CInsertInforDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CInsertInforDlg)
	DDX_Text(pDX, IDC_EDIT1, m_insertinfor);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CInsertInforDlg, CDialog)
	//{{AFX_MSG_MAP(CInsertInforDlg)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CInsertInforDlg message handlers

BOOL CInsertInforDlg::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here
		m_tooltips3.Create(this);

	m_tooltips3.ADDTool(IDC_EDIT1,"请输入你要插入的内容");
	m_tooltips3.ADDTool(IDOK,"确定操作");
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

⌨️ 快捷键说明

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