资源简介
VC++6.0的实时曲线图表程序.随着输入数据的变化,图表曲线随之实时的上下波动.

代码片段和文件信息
// MainFrm.cpp : implementation of the CMainframe class
//
#include “stdafx.h“
#include “teechart.h“
#include “MainFrm.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CMainframe
IMPLEMENT_DYNCREATE(CMainframe CframeWnd)
BEGIN_MESSAGE_MAP(CMainframe CframeWnd)
//{{AFX_MSG_MAP(CMainframe)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code !
ON_WM_CREATE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
static UINT indicators[] =
{
ID_SEPARATOR // status line indicator
ID_INDICATOR_CAPS
ID_INDICATOR_NUM
ID_INDICATOR_SCRL
};
/////////////////////////////////////////////////////////////////////////////
// CMainframe construction/destruction
CMainframe::CMainframe()
{
// TODO: add member initialization code here
}
CMainframe::~CMainframe()
{
}
int CMainframe::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
if (CframeWnd::OnCreate(lpCreateStruct) == -1)
return -1;
if (!m_wndToolBar.CreateEx(this TBstyle_FLAT WS_CHILD | WS_VISIBLE | CBRS_TOP
| CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC) ||
!m_wndToolBar.LoadToolBar(IDR_MAINframe))
{
TRACE0(“Failed to create toolbar\n“);
return -1; // fail to create
}
if (!m_wndStatusBar.Create(this) ||
!m_wndStatusBar.SetIndicators(indicators
sizeof(indicators)/sizeof(UINT)))
{
TRACE0(“Failed to create status bar\n“);
return -1; // fail to create
}
// TODO: Delete these three lines if you don‘t want the toolbar to
// be dockable
m_wndToolBar.EnableDocking(CBRS_ALIGN_ANY);
EnableDocking(CBRS_ALIGN_ANY);
DockControlBar(&m_wndToolBar);
return 0;
}
BOOL CMainframe::PreCreateWindow(CREATESTRUCT& cs)
{
if( !CframeWnd::PreCreateWindow(cs) )
return FALSE;
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CMainframe diagnostics
#ifdef _DEBUG
void CMainframe::AssertValid() const
{
CframeWnd::AssertValid();
}
void CMainframe::Dump(CDumpContext& dc) const
{
CframeWnd::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CMainframe message handlers
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
I.A.... 20075 2013-04-05 22:48 teechart\Debug\MainFrm.obj
I.A.... 105766 2013-04-05 22:48 teechart\Debug\StdAfx.obj
I.A.... 118878 2013-04-29 12:58 teechart\Debug\teechart.exe
I.A.... 349072 2013-04-29 12:58 teechart\Debug\teechart.ilk
I.A.... 23210 2013-04-05 22:48 teechart\Debug\teechart.obj
I.A.... 5485000 2013-04-05 22:48 teechart\Debug\teechart.pch
I.A.... 459776 2013-04-29 12:58 teechart\Debug\teechart.pdb
I.A.... 7316 2013-04-05 22:48 teechart\Debug\teechart.res
I.A.... 14993 2013-04-05 22:48 teechart\Debug\teechartDoc.obj
I.A.... 26201 2013-04-29 12:58 teechart\Debug\teechartView.obj
I.A.... 205824 2013-04-29 15:11 teechart\Debug\vc60.idb
I.A.... 364544 2013-04-29 12:58 teechart\Debug\vc60.pdb
I.A.... 2509 2013-04-05 05:42 teechart\MainFrm.cpp
I.A.... 1581 2013-04-05 05:42 teechart\MainFrm.h
I.A.... 4359 2013-04-05 05:42 teechart\ReadMe.txt
I.A.... 1078 2013-04-05 05:42 teechart\res\teechart.ico
I.A.... 400 2013-04-05 05:42 teechart\res\teechart.rc2
I.A.... 1078 2013-04-05 05:42 teechart\res\teechartDoc.ico
I.A.... 1078 2013-04-05 05:42 teechart\res\Toolbar.bmp
I.A.... 496 2013-04-05 05:42 teechart\Resource.h
I.A.... 210 2013-04-05 05:42 teechart\StdAfx.cpp
I.A.... 1054 2013-04-05 05:42 teechart\StdAfx.h
I.A.... 28972 2013-04-05 22:49 teechart\teechart.aps
I.A.... 2220 2013-04-29 15:11 teechart\teechart.clw
I.A.... 4245 2013-04-05 05:42 teechart\teechart.cpp
I.A.... 4597 2013-04-05 05:42 teechart\teechart.dsp
I.A.... 524 2013-04-05 05:47 teechart\teechart.dsw
I.A.... 1378 2013-04-05 05:42 teechart\teechart.h
I.A.... 58368 2013-04-29 15:11 teechart\teechart.ncb
I.A.... 48640 2013-04-29 15:11 teechart\teechart.opt
............此处省略12个文件信息
- 上一篇:c++ 计算m点问题
- 下一篇:网络入侵检查系统VC++
相关资源
- VC++ 多线程文件读写操作
- 移木块游戏,可以自编自玩,vc6.0编写
- MFC数字钟(基于VC6.0)
- 安科瑞智能电能表MODBUS通讯程序 VC6
- VC++MFC小游戏实例教程(实例)+MFC类库
- VC6LineNumberAddin.dll
- 用VC6.0实现多边形扫描线填充算法
- VC++实现CMD命令执行与获得返回信息
- VC助手 VC6.0助手
- VC++基于OpenGL模拟的一个3维空间模型
- 基于VC++的SolidWorks二次开发SolidWorks
- VC6 USB开发源码
- VC操作SQLSERVER数据库
- aes加解密(vc源程序)
- vc_串口通讯
- 吕鑫vc6c++数据结构视频源码
- 派克变换VC++源码(附文档)
- 基于opencv漫水填充算法综合
- VC++ 串口
- VC++ 大富翁4_大富翁游戏源码
- MFC的异步网络通讯应用程序
- VC++ 摄像头视频采集与回放源程序
- 转 VC++ 实现电子邮件(Email)发送
- 基于MFC的VC++仿QQ浏览器源码(雏形)
- VC++ 服务程序编写及安装与卸载
- VC++6.0番茄西红柿VAXvirsual assist X完美破
- VC编程助手2010破解版(原名VA_X_10.6.
- 基于改进的fcm算法的图像分割vc++
- VC++6.0 绿色版,免安装,非常好用。
- Microsoft Visual C++ 2005 Redistributable Pack
评论
共有 条评论