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

📄 delete.cpp

📁 开发的,食物管理软件,可以在智能家电的终端上直接应用
💻 CPP
字号:
// delete.cpp : implementation file
//

#include "stdafx.h"
#include "FoodMenu.h"
#include "delete.h"

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

/////////////////////////////////////////////////////////////////////////////
// Cdelete dialog


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


void Cdelete::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(Cdelete)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// Cdelete message handlers

BOOL Cdelete::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
//	home.LoadBitmaps(IDB_home);
//	VERIFY(home.SubclassDlgItem(IDC_HOME, this));
//	home.SizeToContent();

//	back.LoadBitmaps(IDB_return);
//	VERIFY(back.SubclassDlgItem(IDC_return, this));
//	back.SizeToContent();

	btnok.LoadBitmaps(IDB_ok);
	VERIFY(btnok.SubclassDlgItem(IDOK, this));
	btnok.SizeToContent();

	btncancel.LoadBitmaps(IDB_cancel);
	VERIFY(btncancel.SubclassDlgItem(IDCANCEL, this));
	btncancel.SizeToContent();
	
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

//DEL void Cdelete::OnHome() 
//DEL {
//DEL 	CDialog::OnCancel();
//DEL 	CDialog::DestroyWindow();
//DEL }

//DEL void Cdelete::OnCancelAfn() 
//DEL {
//DEL //	CDialog::OnCancel();
//DEL 	CDialog::DestroyWindow();	
//DEL }

//DEL void Cdelete::OnOkAfn() 
//DEL {
//DEL 	CDialog::OnCancel();
//DEL 	CDialog::DestroyWindow();	
//DEL }

⌨️ 快捷键说明

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