|
项目描述: |
This custom control displays a left scrolling spike with range configurable by calling SetRange(0,100), the first parameter is the min(bottom) value and the second parameter is max(top) value.
The control is designed to work just like the progress control but with a twist. Every SetPos() will shows a spike and the next SetPos() will scroll the previous one to the left.
The CHistogramCtrl class is derived from CWnd, the header and code are in HistogramCtrl.h and HistogramCtrl.cpp files.
这个定制控件在左边显示一个滚动条,通过调用SetRange(0,100)来配置它的范围,第一个参数是最小(最底部)值,第二个参数是最大(最上)值。
这个控件设计为类似进度条控件。每一次调用 SetPos() 会显示一个滑块,再调用 SetPos() 会向左滑动滑块。
CHistogramCtrl 类派生于 CWnd,头文件是HistogramCtrl.h ,代码文件是HistogramCtrl.cpp 。
来源: http://www.codeguru.com/controls/histogram_control.shtml |
类别: |
|
发布者:
cbd002
|
|
最新发布源码包 |
软件包 |
版本号 |
日期 |
本地下载 |
histogram_control |
 1.0  |
2004-04-17 |
下载 |
|
|