文件名称:mymeter
- 所属分类:
- 界面编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 65kb
- 下载次数:
- 0次
- 提 供 者:
- 红*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
一个实用的仪表控件,用户可以根据需要进行设置或增减功能。
主要函数介绍如下:
SetNeedleColor(COLORREF colorNeedle) 设置指针颜色
SetRange(double dMin, double dMax) 设置仪表最大值最小值
SetScaleDecimals(int nDecimals) 设置刻度显示精度(小数点后位数)
SetValueDecimals(int nDecimals) 设置数值显示精度(小数点后位数)
SetUnits(CString &strUnits) 设置单位
SetColorTick(BOOL bColorTick) 是否显示彩色刻度
SetTicks(int nTicks) 设置主刻度(分几大格)
SetSubTicks(int nSubTicks) 设置子刻度(每大格分为几小格)
SetAngleRange(int nStartAngleDeg, int nEndAngleDeg) 表盘圆弧起始终止角度-A practical instrument control, the user can set or change functions. The main function as follows: SetNeedleColor (COLORREF colorNeedle) set the target color SetRange (double dMin, double dMax) set the minimum meter maximum SetScaleDecimals (int nDecimals) shows that the accuracy of calibration settings (the median after the decimal point) SetValueDecimals (int nDecimals) set numerical display precision (digits after the decimal point) SetUnits (CString
主要函数介绍如下:
SetNeedleColor(COLORREF colorNeedle) 设置指针颜色
SetRange(double dMin, double dMax) 设置仪表最大值最小值
SetScaleDecimals(int nDecimals) 设置刻度显示精度(小数点后位数)
SetValueDecimals(int nDecimals) 设置数值显示精度(小数点后位数)
SetUnits(CString &strUnits) 设置单位
SetColorTick(BOOL bColorTick) 是否显示彩色刻度
SetTicks(int nTicks) 设置主刻度(分几大格)
SetSubTicks(int nSubTicks) 设置子刻度(每大格分为几小格)
SetAngleRange(int nStartAngleDeg, int nEndAngleDeg) 表盘圆弧起始终止角度-A practical instrument control, the user can set or change functions. The main function as follows: SetNeedleColor (COLORREF colorNeedle) set the target color SetRange (double dMin, double dMax) set the minimum meter maximum SetScaleDecimals (int nDecimals) shows that the accuracy of calibration settings (the median after the decimal point) SetValueDecimals (int nDecimals) set numerical display precision (digits after the decimal point) SetUnits (CString
(系统自动生成,下载前可以参看下载内容)
下载文件列表
mymeter
.......\mymeter
.......\.......\MyMeter
.......\.......\.......\Debug
.......\.......\.......\HyperLink.cpp
.......\.......\.......\HyperLink.h
.......\.......\.......\MemDC.h
.......\.......\.......\Meter.cpp
.......\.......\.......\Meter.h
.......\.......\.......\MyMeter.aps
.......\.......\.......\MyMeter.clw
.......\.......\.......\MyMeter.cpp
.......\.......\.......\MyMeter.dsp
.......\.......\.......\MyMeter.dsw
.......\.......\.......\MyMeter.h
.......\.......\.......\MyMeter.ncb
.......\.......\.......\MyMeter.opt
.......\.......\.......\MyMeter.plg
.......\.......\.......\MyMeter.rc
.......\.......\.......\MyMeterDlg.cpp
.......\.......\.......\MyMeterDlg.h
.......\.......\.......\ReadMe.txt
.......\.......\.......\res
.......\.......\.......\...\MyMeter.rc2
.......\.......\.......\Resource.h
.......\.......\.......\StdAfx.cpp
.......\.......\.......\StdAfx.h
.......\mymeter
.......\.......\MyMeter
.......\.......\.......\Debug
.......\.......\.......\HyperLink.cpp
.......\.......\.......\HyperLink.h
.......\.......\.......\MemDC.h
.......\.......\.......\Meter.cpp
.......\.......\.......\Meter.h
.......\.......\.......\MyMeter.aps
.......\.......\.......\MyMeter.clw
.......\.......\.......\MyMeter.cpp
.......\.......\.......\MyMeter.dsp
.......\.......\.......\MyMeter.dsw
.......\.......\.......\MyMeter.h
.......\.......\.......\MyMeter.ncb
.......\.......\.......\MyMeter.opt
.......\.......\.......\MyMeter.plg
.......\.......\.......\MyMeter.rc
.......\.......\.......\MyMeterDlg.cpp
.......\.......\.......\MyMeterDlg.h
.......\.......\.......\ReadMe.txt
.......\.......\.......\res
.......\.......\.......\...\MyMeter.rc2
.......\.......\.......\Resource.h
.......\.......\.......\StdAfx.cpp
.......\.......\.......\StdAfx.h