資源簡介
VC++ 繪圖 折線圖 餅圖 矩形圖,非常的全面,動態顯示,

代碼片段和文件信息
//?chart.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“chart.h“
#include?“MainFrm.h“
#include?“chartDoc.h“
#include?“chartView.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CChartApp
BEGIN_MESSAGE_MAP(CChartApp?CWinApp)
//{{AFX_MSG_MAP(CChartApp)
ON_COMMAND(ID_APP_ABOUT?OnAppAbout)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG_MAP
//?Standard?file?based?document?commands
ON_COMMAND(ID_FILE_NEW?CWinApp::OnFileNew)
ON_COMMAND(ID_FILE_OPEN?CWinApp::OnFileOpen)
//?Standard?print?setup?command
ON_COMMAND(ID_FILE_PRINT_SETUP?CWinApp::OnFilePrintSetup)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CChartApp?construction
CChartApp::CChartApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CChartApp?object
CChartApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CChartApp?initialization
BOOL?CChartApp::InitInstance()
{
AfxEnableControlContainer();
//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.
#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif
//?Change?the?registry?key?under?which?our?settings?are?stored.
//?TODO:?You?should?modify?this?string?to?be?something?appropriate
//?such?as?the?name?of?your?company?or?organization.
SetRegistryKey(_T(“Local?AppWizard-Generated?Applications“));
LoadStdProfileSettings();??//?Load?standard?INI?file?options?(including?MRU)
//?Register?the?application‘s?document?templates.??Document?templates
//??serve?as?the?connection?between?documents?frame?windows?and?views.
CSingleDocTemplate*?pDocTemplate;
pDocTemplate?=?new?CSingleDocTemplate(
IDR_MAINframe
RUNTIME_CLASS(CChartDoc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CChartView));
AddDocTemplate(pDocTemplate);
//?Parse?command?line?for?standard?shell?commands?DDE?file?open
CCommandLineInfo?cmdInfo;
ParseCommandLine(cmdInfo);
//?Dispatch?commands?specified?on?the?command?line
if?(!ProcessShellCommand(cmdInfo))
return?FALSE;
//?The?one?and?only?window?has?been?initialized?so?show?and?update?it.
m_pMainWnd->ShowWindow(SW_SHOW);
m_pMainWnd->UpdateWindow();
return?TRUE;
}
/////////
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????196663??2009-05-27?13:20??mschart\mschart\Debug\Demo.exe
?????文件?????492904??2009-05-27?13:20??mschart\mschart\Debug\Demo.ilk
?????文件??????22747??2009-05-27?13:20??mschart\mschart\Debug\Demo.obj
?????文件????5567572??2009-05-27?13:20??mschart\mschart\Debug\Demo.pch
?????文件????1008640??2009-05-27?13:20??mschart\mschart\Debug\Demo.pdb
?????文件???????6532??2009-04-28?11:31??mschart\mschart\Debug\Demo.res
?????文件??????????0??2009-04-28?09:34??mschart\mschart\Debug\Demo.sbr
?????文件??????14596??2009-05-27?13:20??mschart\mschart\Debug\DemoDoc.obj
?????文件??????????0??2009-04-28?09:34??mschart\mschart\Debug\DemoDoc.sbr
?????文件??????65665??2009-05-27?13:20??mschart\mschart\Debug\DemoView.obj
?????文件??????????0??2009-04-28?09:34??mschart\mschart\Debug\DemoView.sbr
?????文件??????13096??2009-05-27?13:20??mschart\mschart\Debug\font.obj
?????文件??????????0??2009-04-28?09:34??mschart\mschart\Debug\font.sbr
?????文件??????19892??2009-05-27?13:20??mschart\mschart\Debug\MainFrm.obj
?????文件??????????0??2009-04-28?09:34??mschart\mschart\Debug\MainFrm.sbr
?????文件??????83659??2009-05-27?13:20??mschart\mschart\Debug\mschart.obj
?????文件??????????0??2009-04-28?09:34??mschart\mschart\Debug\mschart.sbr
?????文件??????89153??2009-04-28?11:31??mschart\mschart\Debug\msdgridctrl.obj
?????文件???????5559??2009-04-28?11:31??mschart\mschart\Debug\picture.obj
?????文件?????105619??2009-05-27?13:20??mschart\mschart\Debug\StdAfx.obj
?????文件????1374961??2009-04-28?09:33??mschart\mschart\Debug\StdAfx.sbr
?????文件?????320512??2009-05-27?13:20??mschart\mschart\Debug\vc60.idb
?????文件?????405504??2009-05-27?13:20??mschart\mschart\Debug\vc60.pdb
?????文件??????15521??2009-05-27?13:20??mschart\mschart\Debug\vcaxis.obj
?????文件??????????0??2009-04-28?09:34??mschart\mschart\Debug\vcaxis.sbr
?????文件???????4202??2009-05-27?13:20??mschart\mschart\Debug\vcaxisgrid.obj
?????文件??????????0??2009-04-28?09:34??mschart\mschart\Debug\vcaxisgrid.sbr
?????文件???????7400??2009-05-27?13:20??mschart\mschart\Debug\vcaxisscale.obj
?????文件??????????0??2009-04-28?09:34??mschart\mschart\Debug\vcaxisscale.sbr
?????文件??????13292??2009-05-27?13:20??mschart\mschart\Debug\vcaxisti
............此處省略270個文件信息
- 上一篇:BT協議詳解與實現(c++ 完整版)
- 下一篇:區域填充三種算法
評論
共有 條評論