两个窗口的滚动拖动事件同步 [英] scroll drag event synchronization for two windows
本文介绍了两个窗口的滚动拖动事件同步的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想同步两个独立窗口的鼠标滚动条拖动事件.这样,在发生单个拖动事件的情况下,窗口的滚动条都应移动.
请提出使用Vc ++的方法.
Hi,
I want to synchronize mouse scroll bar drag event for two independent windows. so that,with a single drag event both the window''s scroll bar should move.
Please suggest how to achieve this using Vc++.
推荐答案
只需将指向同级窗口的指针放在其他窗口中即可.
并处理鼠标滚动.
Simply put pointers to sibling window in other window
and handle mouse scroll.
这篇关于两个窗口的滚动拖动事件同步的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文