开发者

NSWindow: Passing mouse events through window to whatever is underneath

开发者 https://www.devze.com 2023-03-03 03:16 出处:网络
Is it possible to 开发者_运维百科pass mouse events through an NSWindow to whatever is behind it (even if it is a window from another application)?

Is it possible to 开发者_运维百科pass mouse events through an NSWindow to whatever is behind it (even if it is a window from another application)?

I am using NSWindow to create a desktop overlay, but would like to still be able to interact with other windows, even if they are behind my overlay window.


IIRC, you can just use [window setIgnoresMouseEvents:YES].

0

精彩评论

暂无评论...
验证码 换一张
取 消