How can I prevent other apps from stealing the focus?

你离开我真会死。 提交于 2019-12-01 06:39:59

You may want to investigate "Kiosk Mode".

If this is a kiosk application and you are the only program running on the computer then fine. Otherwise this is a really bad idea and that's why there is not a documented way of doing it. As Raymund Chen says this kind of question should be followed with the thought experiment "what if two programs did this?":

http://blogs.msdn.com/oldnewthing/archive/2005/06/07/426294.aspx

El Padrino

Perhaps this is what you want: Windows Form in Full Screen "Kiosk Mode".

Otherwise I'll second Henk's recomendation.

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