PDA

Click to See Complete Forum and Search --> : Form Docking... Docking the Form... The Form Needs To Be Docked...


Compwiz
Nov 10th, 1999, 03:45 AM
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
tyoung@stny.rr.com
ICQ: 15743470
AIM: TomY10
PERL, JavaScript and VB Programmer

MartinLiss
Nov 10th, 1999, 04:22 AM
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

Compwiz
Nov 10th, 1999, 06:15 AM
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.

MartinLiss
Nov 10th, 1999, 07:42 AM
Put the following in the form's Load event. Is thatwhat you want?

Me.Move 0, 0


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

Compwiz
Nov 10th, 1999, 08:45 AM
No, I want the form to be docked... like the task bar.

MartinLiss
Nov 10th, 1999, 10:46 AM
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

ShadowCrawler
Nov 10th, 1999, 03:22 PM
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: craigkovatch@compuserve.com
ICQ#: 9872708 (http://wwp.mirabilis.com/9872708)

Compwiz
Nov 10th, 1999, 09:44 PM
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 (http://www.alladvantage.com/join.asp?refid=dlk474) THEN YOU WILL KNOW WHAT I MEAN!!!!!

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

Crazy D
Nov 10th, 1999, 09:50 PM
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 :-))

Phobic
Nov 11th, 1999, 12:28 AM
Happy Birthday! (http://www.thescarms.com/vbasic/AppBar.htm)

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).]

KENNNY
Jan 4th, 2000, 02:31 AM
YES U R GOD!!!!!!!!!!!
THANKS m8!!!!!!!!!!!!!!!!