|
-
Jun 16th, 2000, 03:31 AM
#1
Thread Starter
Junior Member
Hi,
I've been trying to figure out how to dock a form to the top of the screen like programs used by AltaVista FreeAccess and Freei use. I want to be able to make my form go all the way across the top of the screen and make all running programs resize so that the new top of the screen is the bottom of my docked form.
Does anyone know how to do this?
Thanks!
-
Jun 16th, 2000, 03:33 AM
#2
-
Jun 16th, 2000, 07:52 AM
#3
Thread Starter
Junior Member
I don't want to dock a form in a MDI form, I want to dock it on the desktop.
-
Jun 17th, 2000, 07:48 AM
#4
Thread Starter
Junior Member
Does anyone know how to dock a form to the desktop? I need it to go all the way across the top of the screen, and all open programs will resize to fit below the docked form, sort of making the docked form the new top of the screen.
Any help would be appreciated.
-
Jun 17th, 2000, 07:53 AM
#5
Fanatic Member
I think what you need is a rebar control - similar to the taskbar.
only instead of it being gray you use a bitmap to make it look how you want - unless you want it gray of course.
DocZaf
{;->
do a search in the forums and look for REBAR control.
-
Jun 17th, 2000, 08:52 AM
#6
You could try setting it's Height and Width to the Screen's Height and Width if it's close enough.
Code:
If Form1.Height > Screen.Height - 50 Then Form1.Height = Screen.Height
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|