📄 customprogressdialog.cpp
字号:
// CustomProgressDialog.cpp: implementation of the CCustomProgressDialog class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "CDynamicDialog.h"
#include "CustomProgressDialog.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CCustomProgressDialog::CCustomProgressDialog()
{
m_dlgTempl.cx = 180;
m_dlgTempl.cy = 40;
}
CCustomProgressDialog::~CCustomProgressDialog()
{
}
BOOL CCustomProgressDialog::OnInitDialog()
{
CMemoryDialog::OnInitDialog();
if(!m_ProCtrl.GetSafeHwnd()){
m_ProCtrl.Create(WS_CHILD | WS_VISIBLE,CRect(50,20,300,40),this,WM_USER+3000);
m_ProCtrl.ShowWindow(SW_SHOW);
}
return true;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -