简体   繁体   中英

Is there a way to avoid the taskbar getting focus when running a form?

I am building a small program I want to hover over the other programs, and I use TopMost to handle this quite well.

Now my issue is that once I work in my tool, it also brings the Windows Taskbar forward, whereas I would like not to pull it to the top.

Is there a way to address this?

An acceptable workaround would be to "restore focus" on previous active program, is there an easy way to do this? (like Alt + Tab)

对于问题的“恢复焦点”部分,您可以足够轻松地使用form.activate方法。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM