-
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
-
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
-
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.
-
Put the following in the form's Load event. Is thatwhat you want?
Me.Move 0, 0
------------------
Marty
-
No, I want the form to be docked... like the task bar.
-
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
-
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
-
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).]
-
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 :-))
-
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).]
-
YES U R GOD!!!!!!!!!!!
THANKS m8!!!!!!!!!!!!!!!!