I'm trying to make my Windows Forms stay on top of all programs on my computer.
For example, if I click into a Google Chrome window, I still want the form to be prioritized above it. Is this possible to do?
I'm trying to make my Windows Forms stay on top of all programs on my computer.
For example, if I click into a Google Chrome window, I still want the form to be prioritized above it. Is this possible to do?
Have you tried setting the Form.TopMost
?
You can just add this to your form:
this.TopMost = true;
Another thing is that you can always put it on top (forcibly) is to make it a dialogbox:
this.ShowDialog();
Hope it helps!
Yes there is one property on Form
TopMost
you can set true / false.
True - it will be on top False (by default) - thats why doesn't stat on top by default
of course you can set from code also as @mindOfAi suggested.