Reputation: 93
I want to fix my vb form on the desktop. i don't want other windows to occupy the space which my form is fixed.
Image Link : https://i.sstatic.net/qshI8.jpg
The image shows that ticker is on top of the screen. When other window(s)/application(s) opened that ticker should not override instead the new applications should open below to that ticker.
Upvotes: 1
Views: 1336
Reputation: 754
To ensure that the form is always in front of others you have to set the attribute TopMost
of the form to True
. to bring it on front after showing just call the Activate()
method.
Upvotes: 3
Reputation: 9888
You have to register your application in AppBar (Application Desktop Toolbar).
To do this, you'll need to interop. Here is an example with C#. And another one.
Upvotes: 4