基本信息
源码名称:c++自定义按钮控件
源码大小:0.06M
文件格式:.rar
开发语言:C/C++
更新时间:2016-04-28
   友情提示:(无需注册或充值,赞助后即可获取资源下载链接)

     嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300

本次赞助数额为: 2 元 
   源码介绍
简单快捷掌握自定义控件


// MySphereButton.cpp : Defines the class behaviors for the application.
//

#include "stdafx.h"
#include "MySphereButton.h"
#include "MySphereButtonDlg.h"

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

/////////////////////////////////////////////////////////////////////////////
// CMySphereButtonApp

BEGIN_MESSAGE_MAP(CMySphereButtonApp, CWinApp)
	//{{AFX_MSG_MAP(CMySphereButtonApp)
	//}}AFX_MSG
	ON_COMMAND(ID_HELP, CWinApp::OnHelp)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CMySphereButtonApp construction

CMySphereButtonApp::CMySphereButtonApp()
{
}

/////////////////////////////////////////////////////////////////////////////
// The one and only CMySphereButtonApp object

CMySphereButtonApp theApp;

/////////////////////////////////////////////////////////////////////////////
// CMySphereButtonApp initialization

BOOL CMySphereButtonApp::InitInstance()
{
	// Standard initialization

#ifdef _AFXDLL
	Enable3dControls();			// Call this when using MFC in a shared DLL
#else
	Enable3dControlsStatic();	// Call this when linking to MFC statically
#endif

	CMySphereButtonDlg dlg;
	m_pMainWnd = &dlg;
	int nResponse = dlg.DoModal();
	if (nResponse == IDOK)
	{
	}
	else if (nResponse == IDCANCEL)
	{
	}

	// Since the dialog has been closed, return FALSE so that we exit the
	//  application, rather than start the application's message pump.
	return FALSE;
}