資源簡介
VC 實現的示波器控件 非常強大
有標尺 多通道 可以設置 測量

代碼片段和文件信息
//?OscilSample.cpp?:?main?source?file?for?OscilSample.exe
//
//?Change?these?values?to?use?different?versions
#define?WINVER 0x0400
//#define?_WIN32_WINNT 0x0400
#define?_WIN32_IE 0x0400
#define?_RICHEDIT_VER 0x0100
#include?se.h>
#include?
extern?CAppModule?_Module;
#include?
#include?ame.h>
#include?
#include?
#include?
#include?“resource.h“
#include?“maindlg.h“
CAppModule?_Module;
int?Run(LPTSTR?/*lpstrCmdLine*/?=?NULL?int?nCmdShow?=?SW_SHOWDEFAULT)
{
CMessageLoop?theLoop;
_Module.AddMessageLoop(&theLoop);
CMainDlg?dlgMain;
if(dlgMain.Create(NULL)?==?NULL)
{
ATLTRACE(_T(“Main?dialog?creation?failed!\n“));
return?0;
}
dlgMain.ShowWindow(nCmdShow);
int?nRet?=?theLoop.Run();
_Module.RemoveMessageLoop();
return?nRet;
}
int?WINAPI?_tWinMain(HINSTANCE?hInstance?HINSTANCE?/*hPrevInstance*/?LPTSTR?lpstrCmdLine?int?nCmdShow)
{
HRESULT?hRes?=?::CoInitialize(NULL);
//?If?you?are?running?on?NT?4.0?or?higher?you?can?use?the?following?call?instead?to?
//?make?the?EXE?free?threaded.?This?means?that?calls?come?in?on?a?random?RPC?thread.
// HRESULT?hRes?=?::CoInitializeEx(NULL?COINIT_MULTITHREADED);
ATLASSERT(SUCCEEDED(hRes));
//?this?resolves?ATL?window?thunking?problem?when?Microsoft?layer?for?Unicode?(MSLU)?is?used
::DefWindowProc(NULL?0?0?0L);
AtlInitCommonControls(ICC_COOL_CLASSES?|?ICC_BAR_CLASSES); //?add?flags?to?support?other?controls
hRes?=?_Module.Init(NULL?hInstance);
ATLASSERT(SUCCEEDED(hRes));
int?nRet?=?Run(lpstrCmdLine?nCmdShow);
_Module.Term();
::CoUninitialize();
return?nRet;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2004-06-23?13:03??OscilSample\
?????文件???????11206??2004-06-22?18:40??OscilSample\maindlg.h
?????文件???????35448??2004-06-22?18:28??OscilSample\Oscilloscope.h
?????文件????????1702??2004-06-18?15:21??OscilSample\OscilSample.cpp
?????文件????????4553??2004-06-22?18:41??OscilSample\OscilSample.dsp
?????文件?????????545??2004-06-18?15:14??OscilSample\OscilSample.dsw
?????文件??????114688??2004-06-23?12:58??OscilSample\OscilSample.exe
?????文件??????????18??2004-06-18?15:14??OscilSample\OscilSample.h
?????文件???????10015??2004-06-23?13:02??OscilSample\OscilSample.rc
?????目錄???????????0??2004-06-23?13:03??OscilSample\res\
?????文件????????1078??2004-06-18?15:14??OscilSample\res\OscilSample.ico
?????文件????????1562??2004-06-22?17:49??OscilSample\resource.h
- 上一篇:支持多個DBGridEH導出Excel
- 下一篇:命名實體識別數據集.rar
評論
共有 條評論