Murali Krishna
Murali Krishna

Reputation: 93

Fix the windows form on desktop using vb.net

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.

The image shows that ticker showing on top of the screen

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

Answers (2)

ceth
ceth

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

SysDragon
SysDragon

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

Related Questions