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

📄 dlg_processing.cpp

📁 USB驱动在window xp/2K下的自动安装程序
💻 CPP
字号:
// Dlg_ProcessIng.cpp : implementation file
//

#include "stdafx.h"
#include "Usb_Install_2KXP.h"
#include "Dlg_ProcessIng.h"

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


/////////////////////////////////////////////////////////////////////////////
// CDlg_ProcessIng dialog


CDlg_ProcessIng::CDlg_ProcessIng(CWnd* pParent /*=NULL*/)
	: CDialog(CDlg_ProcessIng::IDD, pParent)
{
	//{{AFX_DATA_INIT(CDlg_ProcessIng)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


void CDlg_ProcessIng::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CDlg_ProcessIng)
	DDX_Control(pDX, IDC_PROGRESS_STEP, m_ctrl_Progress);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CDlg_ProcessIng, CDialog)
	//{{AFX_MSG_MAP(CDlg_ProcessIng)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CDlg_ProcessIng message handlers

BOOL CDlg_ProcessIng::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here
	
	if (theApp.bInstall)
	{
		this->SetWindowText(_T("Installing..."));
	}
	else
	{
		this->SetWindowText(_T("UnInstalling..."));
	}

	m_ctrl_Progress.SetRange(0,100);
	m_ctrl_Progress.SetPos(0);
	
	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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -