資源簡介
MFC 曲線動態顯示 mfc 畫圖 曲線取值

代碼片段和文件信息
//?Histogram.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“Histogram.h“
#include?“HistogramDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CHistogramApp
BEGIN_MESSAGE_MAP(CHistogramApp?CWinApp)
//{{AFX_MSG_MAP(CHistogramApp)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CHistogramApp?construction
CHistogramApp::CHistogramApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CHistogramApp?object
CHistogramApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CHistogramApp?initialization
BOOL?CHistogramApp::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
CHistogramDlg?dlg;
m_pMainWnd?=?&dlg;
int?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2001-04-14?00:12??res\
?????文件?????????401??2001-03-23?00:03??res\Histogram.rc2
?????文件????????1078??2001-03-23?00:03??res\Histogram.ico
?????文件????????1355??2001-04-14?00:09??Histogram.clw
?????文件????????2105??2001-03-23?00:03??Histogram.cpp
?????文件????????4352??2001-04-02?15:23??Histogram.dsp
?????文件?????????543??2001-03-23?00:03??Histogram.dsw
?????文件????????1357??2001-03-23?00:03??Histogram.h
?????文件????????1999??2001-04-14?00:09??Histogram.plg
?????文件????????5305??2001-04-13?23:54??Histogram.rc
?????文件????????7485??2001-04-13?23:53??HistogramCtrl.cpp
?????文件????????1975??2001-04-06?01:03??HistogramCtrl.h
?????文件????????4878??2001-04-13?23:41??HistogramDlg.cpp
?????文件????????1448??2001-04-13?23:41??HistogramDlg.h
?????文件????????3633??2001-03-23?00:03??ReadMe.txt
?????文件????????1101??2001-04-06?00:43??Resource.h
?????文件?????????211??2001-03-23?00:03??StdAfx.cpp
?????文件????????1054??2001-03-23?00:03??StdAfx.h
- 上一篇:公交信息查詢系統 C語言.doc
- 下一篇:C++下操作access數據庫
評論
共有 條評論