⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 custominputdialog.cpp

📁 随着计算机信息技术的飞速发展
💻 CPP
字号:
// CustomInputDialog.cpp: implementation of the CCustomInputDialog class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "CDynamicDialog.h"
#include "CustomInputDialog.h"

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

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CCustomInputDialog::CCustomInputDialog()
{
	m_dlgTempl.cx = 100;  
	m_dlgTempl.cy = 80;  
}

CCustomInputDialog::~CCustomInputDialog()
{

}
BOOL CCustomInputDialog::OnInitDialog()
{
	CMemoryDialog::OnInitDialog();

	
	m_StaticCtrl.Create("输入数据:",WS_CHILD | WS_VISIBLE,CRect(30,20,180,40),this);
	

	m_Edit.Create(WS_CHILD | WS_VISIBLE |WS_BORDER,CRect(30,60,180,80),this,WM_USER+3000);

	
	m_Button.Create("OK",WS_CHILD | WS_VISIBLE,CRect(60,120,150,150),this,IDOK);
	

	return true;
}

⌨️ 快捷键说明

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