[英]Make a Form “more TopMost” than another
I have a WinForms application with 2 Forms. 我有一个带有2个窗体的WinForms应用程序。 Both are
TopMost
, but I would want to have one of them to always be on top of the second one. 两者都是
TopMost
,但是我想让其中一个始终位于第二个之上。
It's something like "even more TopMost
. 这就像“甚至更多的
TopMost
。
Is this possible? 这可能吗?
Calling BringToFront()
in a timer causes the form to flicker. 在计时器中调用
BringToFront()
会导致表格闪烁。
Check the SetWindowPos function . 检查SetWindowPos函数 。
It might be helpful. 这可能会有所帮助。
EDIT: 编辑:
After reviewing these answers ( 1 , 2 , 3 ), it's not possible to do such thing. 审查这些问题的答案(后1 , 2 , 3 ),这是不可能做这样的事情。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.