wzdwdlg2.cpp
来自「《Visual C++ MFC编程实例》配套代码,如果大家正在学习此教程」· C++ 代码 · 共 26 行
CPP
26 行
// WzdDlg2.cpp : implementation of the CWzdWaitDlg class
//
#include "stdafx.h"
#include "resource.h"
#include "WzdWDlg2.h"
/////////////////////////////////////////////////////////////////////////////
// CWzdWaitDlg
CWzdWaitDlg::CWzdWaitDlg()
{
m_pDlg=new CWzdWaitDialog();
m_pDlg->Create(IDD_WAIT_DIALOG);
m_pDlg->ShowWindow(SW_SHOW);
// and since the function that constructs this class
// might not allow the normal WM_PAINT message to get thru:
m_pDlg->UpdateWindow();
}
CWzdWaitDlg::~CWzdWaitDlg()
{
m_pDlg->DestroyWindow();
delete m_pDlg;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?