资源简介
通过MFC实现的仪表显示,里面包含多种样式,由于之前做过类似东西收集了几样,感觉有两个用起来不错,有现成的仪表类,可以根据自己需要修改,很简单。
代码片段和文件信息
// MyRoundMeter.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “MyRoundMeter.h“
#include “MyRoundMeterDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CMyRoundMeterApp
BEGIN_MESSAGE_MAP(CMyRoundMeterApp CWinApp)
//{{AFX_MSG_MAP(CMyRoundMeterApp)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CMyRoundMeterApp construction
CMyRoundMeterApp::CMyRoundMeterApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CMyRoundMeterApp object
CMyRoundMeterApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CMyRoundMeterApp initialization
BOOL CMyRoundMeterApp::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
CMyRoundMeterDlg 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 2013-05-05 16:14 VC仪表盘\
目录 0 2013-05-02 08:56 VC仪表盘\14237168MyRoundMeter\
目录 0 2013-05-05 15:15 VC仪表盘\14237168MyRoundMeter\MyRoundMeter\
目录 0 2013-05-02 08:57 VC仪表盘\14237168MyRoundMeter\MyRoundMeter\Debug\
文件 2076722 2009-04-02 09:54 VC仪表盘\14237168MyRoundMeter\MyRoundMeter\Debug\DlgCHT.dll
文件 3195904 2013-05-02 08:57 VC仪表盘\14237168MyRoundMeter\MyRoundMeter\Debug\MyRoundMeter.bsc
文件 135253 2013-05-02 08:57 VC仪表盘\14237168MyRoundMeter\MyRoundMeter\Debug\MyRoundMeter.exe
文件 330332 2013-05-02 08:57 VC仪表盘\14237168MyRoundMeter\MyRoundMeter\Debug\MyRoundMeter.ilk
文件 14768 2013-05-02 08:57 VC仪表盘\14237168MyRoundMeter\MyRoundMeter\Debug\MyRoundMeter.obj
文件 6875752 2013-05-02 08:57 VC仪表盘\14237168MyRoundMeter\MyRoundMeter\Debug\MyRoundMeter.pch
文件 345088 2013-05-02 08:57 VC仪表盘\14237168MyRoundMeter\MyRoundMeter\Debug\MyRoundMeter.pdb
文件 2784 2013-05-02 08:57 VC仪表盘\14237168MyRoundMeter\MyRoundMeter\Debug\MyRoundMeter.res
文件 0 2013-05-02 08:57 VC仪表盘\14237168MyRoundMeter\MyRoundMeter\Debug\MyRoundMeter.sbr
文件 28266 2013-05-02 08:57 VC仪表盘\14237168MyRoundMeter\MyRoundMeter\Debug\MyRoundMeterDlg.obj
文件 0 2013-05-02 08:57 VC仪表盘\14237168MyRoundMeter\MyRoundMeter\Debug\MyRoundMeterDlg.sbr
文件 76504 2013-05-02 08:57 VC仪表盘\14237168MyRoundMeter\MyRoundMeter\Debug\RounderMeter.obj
文件 0 2013-05-02 08:57 VC仪表盘\14237168MyRoundMeter\MyRoundMeter\Debug\RounderMeter.sbr
文件 105635 2013-05-02 08:57 VC仪表盘\14237168MyRoundMeter\MyRoundMeter\Debug\StdAfx.obj
文件 1366571 2013-05-02 08:57 VC仪表盘\14237168MyRoundMeter\MyRoundMeter\Debug\StdAfx.sbr
文件 214016 2013-05-05 15:12 VC仪表盘\14237168MyRoundMeter\MyRoundMeter\Debug\vc60.idb
文件 380928 2013-05-02 08:57 VC仪表盘\14237168MyRoundMeter\MyRoundMeter\Debug\vc60.pdb
目录 0 2013-05-02 08:56 VC仪表盘\14237168MyRoundMeter\MyRoundMeter\DlgCHT\
文件 2340 1999-11-30 08:48 VC仪表盘\14237168MyRoundMeter\MyRoundMeter\DlgCHT\AutoFont.h
文件 4978 2008-10-06 17:18 VC仪表盘\14237168MyRoundMeter\MyRoundMeter\DlgCHT\CCheckSK.h
文件 7018 2008-09-24 15:29 VC仪表盘\14237168MyRoundMeter\MyRoundMeter\DlgCHT\CDialogCHT.h
文件 8 2008-09-05 16:16 VC仪表盘\14237168MyRoundMeter\MyRoundMeter\DlgCHT\DialogCHT_ext.h
文件 2076722 2009-04-02 09:54 VC仪表盘\14237168MyRoundMeter\MyRoundMeter\DlgCHT\DlgCHT.dll
文件 25626 2009-04-02 09:54 VC仪表盘\14237168MyRoundMeter\MyRoundMeter\DlgCHT\DlgCHT.lib
文件 96 2008-09-09 16:09 VC仪表盘\14237168MyRoundMeter\MyRoundMeter\DlgCHT\DlgCHT_ext.h
文件 1694 2008-09-24 14:08 VC仪表盘\14237168MyRoundMeter\MyRoundMeter\DlgCHT\MyRadioButton.h
文件 1598 2008-09-25 14:23 VC仪表盘\14237168MyRoundMeter\MyRoundMeter\DlgCHT\Text.h
............此处省略207个文件信息
- 上一篇:VC++中为PIC空间添加滚动条显示大图片
- 下一篇:C++标准程序库 侯捷版
相关资源
- MFC开发的多功能高精度计算器含源码
- VS2015 MFC 指示灯报警显示
- 基于MFC的FTP客户端
- VS2008基于MFC的对话框编程串口上位机
- vs2008(mfc)通过ADO连接SQL SERVER 2008
- OpenGL+MFC实现旋转、缩放、平移
- 明美工业相机开发资料
- 约瑟夫环动态演示
- MFC界面中英文切换
- MFC读取文件夹内容名称 时间 类型
- 基于MFC opengl读取obj并求法向量
- 用MFC做推箱子源代码
- 基于MFC编程的冒泡排序动态演示
- 基于MFC的画直线,矩形,椭圆改变线
- 使用MFC实现的三角形分形谢尔宾斯基
- MFC实现鼠标点击画折线
- 基于MFC的学生信息管理系统
- mfc绘制贝塞尔曲线曲面
- wincap c++ mfc 网络截包 多线程
- 基于MFC 仿QQ聊天系统
- Visual C++程序设计与应用教程第二版案
- MFC将exe完美嵌套到static内
- C++操作SQL Server数据库新增 删除 修改
- C++编写电压电流表仪表盘
- 基于MFC的飞秋实现
- 相机标定——双目标定的MFC简单实现
- 相机标定——基于张正友标定标定法
- vs2010 mfc对话框五子棋小游戏
- VS2010 C++ MFC简易计算器
- 网上收集的2011.12之前的绝大部分 五子
评论
共有 条评论