How do I make a glass window?

一世执手 提交于 2020-06-29 03:56:06

问题


My goal is to create a glass window. I don't know if it has another name, but I'll try to describe precisely what I want to archive. This window would be empty (full transparency), at the foreground, and the user could click through and do his stuff like always. Like a literal glass between the screen and the user.

My final goal is make that old prank where someone get surprised by a image flashing out of nowhere.

I looked upon SFML, QT, Pygame, some Java things, but couldn't find a way. I also thought about playing with the focus, and keeping an empty window at the background, and moving it forward, but once again I didn't find anything.

I am open to any lib/Language/idea.

来源:https://stackoverflow.com/questions/62350751/how-do-i-make-a-glass-window

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