RE: Stuck with Visual Basic
The example shown by fatfreechicken is for when you want to have borders too (eg to resize the window). But you said you disabled them as you have your own image for the form, so I assume here you don't need them either.
Thus the explanation below is for forms which don't show a caption AND don't show borders:
----------------------
In order to make a form borderless and captionless and still showing up in the taskbar you need to make only two changes:
1) Set the "Border" property to "none"
2) Set the "ShowInTaskBar" property to "True"
If you set a caption on the form, the borders do not reappear. Both things are independant (as long as borders is set to none) as you'll see in my example.
In other words, you can perfectly set a caption on forms which will be visible in the taskbar, while the form itself will have no border.
Also, don't forget to set "App.Title", this is the caption which is shown in your TaskManager.
See attached example project.
-------------
Attachment: captiontest.zip (4.19 KB)
This file has been downloaded 215 time(s).
This post was edited on 07-11-2006 at 07:01 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
|