資源簡介
MFC實現動態曲線的繪制,并支持縮放、顯示圖例和標題。
開發環境Visual Studio 2008和Windows 7.

代碼片段和文件信息
//?LineChartControlDemo.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“LineChartControlDemo.h“
#include?“LineChartControlDemoDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#endif
//?CLineChartControlDemoApp
BEGIN_MESSAGE_MAP(CLineChartControlDemoApp?CWinApp)
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()
//?CLineChartControlDemoApp?construction
CLineChartControlDemoApp::CLineChartControlDemoApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
//?The?one?and?only?CLineChartControlDemoApp?object
CLineChartControlDemoApp?theApp;
//?CLineChartControlDemoApp?initialization
BOOL?CLineChartControlDemoApp::InitInstance()
{
//?InitCommonControls()?is?required?on?Windows?XP?if?an?application
//?manifest?specifies?use?of?ComCtl32.dll?version?6?or?later?to?enable
//?visual?styles.??Otherwise?any?window?creation?will?fail.
InitCommonControls();
CWinApp::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
//?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“));
CLineChartControlDemoDlg?dlg;
m_pMainWnd?=?&dlg;
INT_PTR?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?OK
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?Cancel
}
//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????59496??2012-08-11?18:36??LineChartControlDemo\LineChartControlDemo.aps
?????文件???????2040??2007-11-16?11:18??LineChartControlDemo\LineChartControlDemo.cpp
?????文件????????586??2007-11-16?11:18??LineChartControlDemo\LineChartControlDemo.h
?????文件???????5922??2012-08-11?18:36??LineChartControlDemo\LineChartControlDemo.rc
?????文件????????905??2012-08-11?16:00??LineChartControlDemo\LineChartControlDemo.sln
?????文件???????6084??2012-08-10?20:28??LineChartControlDemo\LineChartControlDemo.vcproj
?????文件???????1404??2008-08-11?15:01??LineChartControlDemo\LineChartControlDemo.vcproj.SZ.sz.user
?????文件???????1418??2012-08-12?15:41??LineChartControlDemo\LineChartControlDemo.vcproj.YDL204-PC.Administrator.user
?????文件???????7114??2012-08-12?15:39??LineChartControlDemo\LineChartControlDemoDlg.cpp
?????文件???????1289??2012-08-12?09:00??LineChartControlDemo\LineChartControlDemoDlg.h
?????文件???????2720??2012-08-10?09:33??LineChartControlDemo\MemDC.h
?????文件??????20264??2012-08-12?15:31??LineChartControlDemo\Plot.cpp
?????文件???????6542??2012-08-12?15:38??LineChartControlDemo\Plot.h
?????文件????????282??2008-08-11?15:00??LineChartControlDemo\ReadMe.txt
?????文件??????21630??2001-04-20?16:48??LineChartControlDemo\res\LineChartControlDemo.ico
?????文件????????710??2007-11-16?11:18??LineChartControlDemo\res\LineChartControlDemo.manifest
?????文件????????411??2007-11-16?11:18??LineChartControlDemo\res\LineChartControlDemo.rc2
?????文件????????922??2007-11-19?20:30??LineChartControlDemo\resource.h
?????文件????????220??2007-11-16?11:18??LineChartControlDemo\stdafx.cpp
?????文件???????1862??2012-08-12?15:37??LineChartControlDemo\stdafx.h
?????目錄??????????0??2012-08-12?15:41??LineChartControlDemo\Debug
?????目錄??????????0??2012-08-12?15:39??LineChartControlDemo\Release
?????目錄??????????0??2007-11-16?11:18??LineChartControlDemo\res
?????目錄??????????0??2012-08-12?15:41??LineChartControlDemo
-----------?---------??----------?-----??----
???????????????141821????????????????????24
- 上一篇:非線性Granger因果檢驗.zip
- 下一篇:漂亮的MFC進度條
評論
共有 條評論