1

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)

4

2 回答 2

0

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

于 2012-07-03T22:52:28.927 回答
0

您是否尝试过ShowInTaskbar将表单的属性设置为 False?这将导致您的表单不显示在 Windows 任务栏中。

于 2012-07-03T22:21:22.760 回答