How to create a topmost overlay which ignores mouse clicks, etc

人走茶凉 提交于 2019-12-21 02:50:08

问题


I'd like to know how to setup a transparent overlay windown in Cocoa which can ignore mouse clicks (so that they pass through to whatever window is below). The user should not be able to interact with the window with their mouse.


回答1:


Tell it to ignore mouse events.



来源:https://stackoverflow.com/questions/3570247/how-to-create-a-topmost-overlay-which-ignores-mouse-clicks-etc

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!