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

📄 delogdialog.cpp

📁 基于WINCE
💻 CPP
字号:
// DelogDialog.cpp : implementation file
//

#include "stdafx.h"
#include "Msg.h"
#include "DelogDialog.h"
#include "MsgDlg.h"

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

/////////////////////////////////////////////////////////////////////////////
// DelogDialog dialog


DelogDialog::DelogDialog(CWnd* pParent /*=NULL*/)
	: CDialog(DelogDialog::IDD, pParent)
{
	//{{AFX_DATA_INIT(DelogDialog)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
	DELETEOK.LoadBitmaps(IDB_DELETEOK);
	DELETECANCEL.LoadBitmaps(IDB_DELETECANCEL);
}


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


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

/////////////////////////////////////////////////////////////////////////////
// DelogDialog message handlers

void DelogDialog::OnOK() 
{
	// TODO: Add extra validation here
	//CMsgDlg msgdlg;
	//msgdlg.DeleteMsg();
	//msgdlg.OnDelete();
	//OnOK();
	CDialog::OnOK();
}

void DelogDialog::OnCancel() 
{
	// TODO: Add extra cleanup here
	OnOK();
	CDialog::OnCancel();
}

BOOL DelogDialog::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here
	VERIFY(DELETEOK.SubclassDlgItem(IDOK,this));
	DELETEOK.SizeToContent();
	VERIFY(DELETECANCEL.SubclassDlgItem(IDCANCEL,this));
	DELETECANCEL.SizeToContent();
	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 + -