-3

I have a simple project that is basically a little clock that should stay on the lower left corner of the screen, and i want it to stay in front of all other windows at all times, but I have now idea how to make that. Is there any property or class I should use? It also shouldn't prevent the user from interacting with other windows.

GGG
  • 640
  • 1
  • 9
  • 27
  • 2
    Have you tried setting the TopMost property on the window property on VS? It should keep it in front while allowing u to use other windows. – Prix Jun 09 '14 at 17:10
  • 3
    What if someone else wrote the same program? Who wins the Most-On-Top race? Doesn't work. See [What if two programs did this?](http://blogs.msdn.com/b/oldnewthing/archive/2005/06/07/426294.aspx) – LarsTech Jun 09 '14 at 17:11
  • 3
    The world if full of `If`s ;) doesn't mean it all race against each other. – Prix Jun 09 '14 at 17:13
  • Well, the TopMost worked, thanks Prix – GGG Jun 09 '14 at 17:30

1 Answers1

0

Try the .TopMost = true property.

Cullub
  • 2,901
  • 3
  • 30
  • 47