是否有过覆盖全屏蔽程序的应用程序的方法吗? [英] Is there a way to overlay an application over a full-screened program?
问题描述
我要寻找开发一个应用程序,它本质上是总是在任何其他应用程序的前面显示在屏幕上,从来没有注重其他窗口时降到背景的计时器窗口。一个例子是,当我玩全屏游戏,我想这个计时器被覆盖的游戏,当我点击窗口上的计时器按钮,它不关闭游戏。
I am looking to develop an application which is essentially a timer window which is always shown on the screen in front of any other application and never falls to the background when focusing other windows. An example is when I play a full-screen game I would like this timer to be overlaying the game and when I click the timer buttons on the window it does not close the game.
任何想法我如何在C#/ Java的实现这一/ C ++?
Any ideas how I can achieve this in C#/java/C++?
感谢
推荐答案
C#:尝试设置窗口(形式)结果的AlwaysOnTop属性
Java的:调用该框架或对话框
C#: try setting the AlwaysOnTop property of the window (form)
java: call the setAlwaysOnTop(true) on the frame or dialog
这篇关于是否有过覆盖全屏蔽程序的应用程序的方法吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!