goondlg.cpp
来自「故障诊断工作涉及的领域相当广泛」· C++ 代码 · 共 55 行
CPP
55 行
// goondlg.cpp : implementation file
//
#include "stdafx.h"
#include "richtest.h"
#include "goondlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// goondlg dialog
goondlg::goondlg(char* pinfo,CWnd* pParent /*=NULL*/)
: CDialog(goondlg::IDD, pParent)
{
//{{AFX_DATA_INIT(goondlg)
// NOTE: the ClassWizard will add member initialization here
this->pinfo=pinfo;
//}}AFX_DATA_INIT
}
void goondlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(goondlg)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(goondlg, CDialog)
//{{AFX_MSG_MAP(goondlg)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// goondlg message handlers
BOOL goondlg::OnInitDialog()
{
CDialog::OnInitDialog();
// TODO: Add extra initialization here
CWnd* pinfow=GetDlgItem(IDC_STATIC_INFO);
pinfow->SetWindowText(pinfo);
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 + -
显示快捷键?