急!急! 数据窗中鼠标滚轮的问题?

smile263 2002-01-07 11:12:27

I use mousescrolling event in my Win98/
PowerBuilder/ Datawindow ,and the mousescroll
does well when there is no groups in the
datewindow. However when i add groups to the datawindow, and then run my application,an "illegal operation" will occure and my application terminate.
How can i solve this problem?
...全文
49 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
hejunyan 2002-04-07
  • 打赏
  • 举报
回复
由于鼠标滚轮滚动时触发WM_MOUSEWHEEL(代码522)消息,屏蔽它:
在数据窗控件的other事件中加一句
//如果触发WM_MOUSEWHEEL(代码522)消息,不继续处理
if message.number=522 then return 1
Dreamaster 2002-01-07
  • 打赏
  • 举报
回复
this is a pb bug,i ment too.

401

社区成员

发帖
与我相关
我的任务
社区描述
PowerBuilder 非技术版
社区管理员
  • 非技术版社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧