求一mfc计算器

来源:百度知道 编辑:UC知道 时间:2024/05/26 23:01:06
急要 如果是我需要的 送我全部积分

给我你的邮件地址

考给你对话框源文件代码有中文注释的
// CalDlg.cpp : 实现文件
//

#include "stdafx.h"
#include "Cal.h"
#include "CalDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#endif

// 用于应用程序“关于”菜单项的 CAboutDlg 对话框

class CAboutDlg : public CDialog
{
public:
CAboutDlg();

// 对话框数据
enum { IDD = IDD_ABOUTBOX };

protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持

// 实现
protected:
DECLARE_MESSAGE_MAP()
};

CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD)
{
}

void CAboutDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
}

BEGIN_MESSAGE_MAP(CAboutDlg, CDialog)
END_MESSAGE_MAP()

// CCalDlg 对话框

CCalDlg::CCalDlg(CWnd* pParent /*=NULL*/)
: CDialog(CCalDlg::IDD, pParent)
{
m_hIcon = AfxGetApp()-&g