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

📄 warningdlg.cpp

📁 类似Linux操作系统0.11版文件系统的文件系统设计和Windows下的操作程序
💻 CPP
字号:
// WarningDlg.cpp : 实现文件
//

#include "stdafx.h"
#include "ULExplorer.h"
#include "WarningDlg.h"
#include ".\warningdlg.h"


// CWarningDlg 对话框

IMPLEMENT_DYNAMIC(CWarningDlg, CDialog)
CWarningDlg::CWarningDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CWarningDlg::IDD, pParent)
{
}

CWarningDlg::CWarningDlg(int Type, CWnd* pParent)
	: CDialog(CWarningDlg::IDD, pParent)
{
	m_Type = Type;
}	

CWarningDlg::~CWarningDlg()
{
}

void CWarningDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	DDX_Control(pDX, IDC_STATIC_WARNING, m_ctlStaticWarning);
	DDX_Control(pDX, IDOK, m_BtnOK);
	DDX_Control(pDX, IDC_STATIC_ICON, m_StaticIcon);
}


BEGIN_MESSAGE_MAP(CWarningDlg, CDialog)
END_MESSAGE_MAP()


// CWarningDlg 消息处理程序

BOOL CWarningDlg::OnInitDialog()
{
	CDialog::OnInitDialog();

	m_ctlStaticWarning.SetWindowText(m_strText);
	//m_StaticIcon.MoveWindow(50, 50, 48, 48);

	return TRUE;  // return TRUE unless you set the focus to a control
	// 异常: OCX 属性页应返回 FALSE
}

void CWarningDlg::SetText(CString Text)
{
	m_strText = Text;
}

⌨️ 快捷键说明

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