Results 1 to 11 of 11

Thread: Form Docking... Docking the Form... The Form Needs To Be Docked...

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 1999
    Location
    NY, USA
    Posts
    270

    Post

    I know this is kinda doing my homework, but I have been trying to dock a form for a long time (very), and I keep getting errors. Can somebody be nice enough to help me out here? The form should be docked at startup. Thanx.

    ------------------
    Tom Young, 14 Year Old
    [email protected]
    ICQ: 15743470
    AIM: TomY10
    PERL, JavaScript and VB Programmer

  2. #2
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Post

    Are you sure you want to dock one of your forms? Maybe the task is to dock one of the windows in the IDE.

    ------------------
    Marty

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 1999
    Location
    NY, USA
    Posts
    270

    Post

    I need to dock a form that I made to the top of the desktop, exactly like the Start Menu in Windows (obviously - but I'm posting this in Linux), only at the top of the screen.

  4. #4
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Post

    Put the following in the form's Load event. Is thatwhat you want?

    Me.Move 0, 0


    ------------------
    Marty

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 1999
    Location
    NY, USA
    Posts
    270

    Post

    No, I want the form to be docked... like the task bar.

  6. #6
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Post

    Sorry, but you've got me stumped. If this is in fact homework, tell the prof that it's too tough (and I've been doing VB for a long time). If you learn how to do it, I'd appreciate a note telling me how.

    ------------------
    Marty

  7. #7
    Member
    Join Date
    Jan 1999
    Location
    Gig Harbor, WA, USA
    Posts
    48

    Post

    Heh, ok, this shouldn't be that hard to figure out. Place the form, and have it come out and disappear on mousemove events :-)

    ------------------
    (¯`·.¸¸.·´¯`·->ShadowCrawler<-·´¯`·.¸¸.·´¯)
    Teenage Programmer
    Visual Basic, HTML, C++, JavaScript

    http://welcome.to/X12Tech
    Email: [email protected]
    ICQ#: 9872708

  8. #8

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 1999
    Location
    NY, USA
    Posts
    270

    Post

    NO!!! DOCKED! IT SHOULD BE DOCKED. I DON'T WANT AN AUTO-HIDE, I WANT IT TO BE DOCKED. IF YOU USE THE AllAdvantage Viewbar THEN YOU WILL KNOW WHAT I MEAN!!!!!

    [This message has been edited by Compwiz (edited 11-11-1999).]

  9. #9
    Hyperactive Member
    Join Date
    Jan 1999
    Location
    Rotterdam, Netherlands
    Posts
    386

    Post

    If you open your MSDN and search for Shell App Bar (on the search tab, not the index tab) you'll get a lot of infop about how to make an Application Toolbar (since that's the official name I believe)
    There's a sample around on the net, although I forgot where I've seen it.
    Indeed, not the easiest thing to do, and requires a lot of subclassing.But definitely not impossible, even from within VB.
    Oh and please ask next time "how do I make an application like the windows taskbar" that makes it lots easier :-))

  10. #10
    Hyperactive Member
    Join Date
    Sep 1999
    Location
    Cleveland, Ohio
    Posts
    263

    Post

    Happy Birthday!

    Next time, just conduct a little search through the forums for 'dock', that's what I just did.

    [This message has been edited by Phobic (edited 11-11-1999).]

  11. #11
    Hyperactive Member
    Join Date
    Jan 2000
    Posts
    355

    Post

    YES U R GOD!!!!!!!!!!!
    THANKS m8!!!!!!!!!!!!!!!!

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