helpd.cpp

来自「这个也是哈夫曼编码译码      这个是基于文档类的」· C++ 代码 · 共 54 行

CPP
54
字号
// HelpD.cpp : implementation file
//
#include "Haffman.cpp"
#include "stdafx.h"
#include "Haffman.h"
#include "HelpD.h"

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

/////////////////////////////////////////////////////////////////////////////
// CHelpD dialog


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


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


BEGIN_MESSAGE_MAP(CHelpD, CDialog)
	//{{AFX_MSG_MAP(CHelpD)
	ON_BN_CLICKED(IDc_MAIL, OnMail)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CHelpD message handlers


void CHelpD::OnMail() 
{
	// TODO: Add your control notification handler code here
	char szMailAddress[80]; 
    strcpy(szMailAddress,"mailto:wen8465@sohu.com");
    ShellExecute(NULL, "open", szMailAddress, NULL, NULL, SW_SHOWNORMAL);
	
}

⌨️ 快捷键说明

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