-
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!
-
-
I don't want to dock a form in a MDI form, I want to dock it on the desktop.
-
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.
-
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.
-
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