Application always on top?
-
How can i get my app to always beinfront of all other running programs, even when its not active (Just like the task manager) If your task manager is not always on top go 'Options' --> 'Always on top'
-
How can i get my app to always beinfront of all other running programs, even when its not active (Just like the task manager) If your task manager is not always on top go 'Options' --> 'Always on top'
In your Form's properties, find TopMost and set it to true. Or, in the form's code:
this.TopMost = true;
RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
In your Form's properties, find TopMost and set it to true. Or, in the form's code:
this.TopMost = true;
RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
It may be that I just don't have enough coffee in me yet this morning but out of curiousity, if I have two apps with both set to TopMost which one actually appears on top? Guessing it would be the last one open but I may be wrong.
The last one opened gets the top spot in the Z-Order. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
The last one opened gets the top spot in the Z-Order. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
Out of curiosity (as well): Is Z-Order shared among monitors or does each screen have its own Z-Order? Meaning, if I have 2 programs which are set to top-most and I drag one to another screen, will it "stay" on top of others apps on that screen? Im asking because the program I am writing would be ideal to have on top on a second screen, so I just was curious if setting "top-most" would be enough. As usual, the user can easily disable "top-most" at the press of a menu item ;) Cheers, Sebastian -- Contra vim mortem non est medicamen in hortem.
-
Out of curiosity (as well): Is Z-Order shared among monitors or does each screen have its own Z-Order? Meaning, if I have 2 programs which are set to top-most and I drag one to another screen, will it "stay" on top of others apps on that screen? Im asking because the program I am writing would be ideal to have on top on a second screen, so I just was curious if setting "top-most" would be enough. As usual, the user can easily disable "top-most" at the press of a menu item ;) Cheers, Sebastian -- Contra vim mortem non est medicamen in hortem.
If your desktop is shared among all the monitors, then the Z-Order is also shared among them. If not, then each monitor has it's own Z-Order. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome