|
项目描述: |
I need a software control to simulate and replace a hardware dial control. So I came up with this control. This radial control is derived from CStatic and can be created using the ClassWizard or you can do your own subclassing.
Most of the commands are similar to CSliderCtrl, I may in the future derived this class from CSliderCtrl and send all slider control messages. Currently this control only sends the WM_HSCROLL message when being modified via mouse or keyboard. The reason that the control sends a message is so that the parent has a chance to act on that message.
我需要一个软件控件来模拟和取代硬件的刻度盘控件,所以我开发了这个控件。这个刻度盘控件派生于CStatic ,可以使用ClassWizard 创建,或进行自己的子类化。
大多数的命令类似于CSliderCtrl, 以后我可以从CSliderCtrl 类派生这个类,并发送所有的滑块控制消息。目前这个控件只能在用鼠标或键盘修改时发送WM_HSCROLL 消息。控件发送消息,这样父窗体就可以处理消息。
来源: http://www.codeguru.com/controls/floresRadialControl.shtml |
类别: |
|
发布者:
cbd002
|
|
最新发布源码包 |
软件包 |
版本号 |
日期 |
本地下载 |
floresRadialContro |
 1.0  |
2004-04-18 |
下载 |
|
|