Results 1 to 6 of 6

Thread: Docking A Form

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 1999
    Posts
    25

    Question

    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!

  2. #2

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Feb 1999
    Posts
    25
    I don't want to dock a form in a MDI form, I want to dock it on the desktop.

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Feb 1999
    Posts
    25
    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.

  5. #5
    Fanatic Member
    Join Date
    Jan 1999
    Location
    UK
    Posts
    554
    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.

  6. #6
    Guest
    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
  •  



Click Here to Expand Forum to Full Width