如何添加事件处理程序. [英] how to add event handlers.

查看:87
本文介绍了如何添加事件处理程序.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在我的vc ++项目下使用stingray库进行目标网格绘图.谁能帮我解决一下如何为目标网格的滚动事件添加事件处理程序.即Horizo​​ntalScroll,VerticalScroll和AutoScroll(鼠标滚轮)

thx,
Chandan

解决方案

如果您不能以常规方式(通过在资源编辑器中单击控件)添加事件处理程序,那么添加它们的最简单方法是可以从Stingray SDK随附的一个示例中复制它们,也可以从文档中复制它们.如果您没有任何一个,请尝试在Stingray论坛上提问: http://forums.roguewave.com/forum/ [ ^ ]


Hi,

I am using stingray library under my vc++ project for objective grid drawing. Can anybody help me out how to add event handlers for the scrolling events for objective grid. i.e HorizontalScroll, VerticalScroll and AutoScroll(Mouse wheel scroll)

thx,
Chandan

解决方案

If you can''t add event handlers in the normal way (by clicking on the control in the resource editor), then the easiest way to add them would be to copy them from one of the samples that ships with the Stingray SDK, or from the documentation. If you don''t have either of those, try asking on the Stingray forums: http://forums.roguewave.com/forum/[^]


这篇关于如何添加事件处理程序.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆