鼠标事件“点击过滤器”

时间:2012-07-22 11:24:38

标签: objective-c xcode macos cocoa

我在桌面上放置了透明覆盖层。
现在我只需要在桌面覆盖层上捕获双击事件,然后“传递”或模拟左键单击并右键单击下面的桌面。

我将不胜感激。

1 个答案:

答案 0 :(得分:0)

您可能对this answer abour intercepting events in OS X感兴趣。您可以建立点击,拦截点击,并根据点击时间确定是否传递它们。

相关问题