Quote:
Originally posted by Raven_Writer
Ok, my program (more specific, a dash-board program) is coming along nice. I have yet another question though. Is it possible to have 2 forms show up, and dock the 2nd one to the first (like what AIM can do with the edge of the screen).
I've got this:
PHP Code:
switch.dock = dockstyle.right
(switch is already defined). It shows and everything, but I want it to be visible (not behind the main form) when the program starts (for a more clear example, look at roboEmu (http://www.robbayer.com/software.html) program to see what I mean).
|
A few things to start off with:
1. Traditional docking involves docking one window
inside another.
2. Docking to the edge of the screen (AIM style) and docking one window to another (a-la Winamp) are two very different things.
3. RoboEmu doesn't actually use docking. I just tell it to put the Windows in the right place to start. It's up to the user to keep them that way.
Anyways, I don't really know much VB, but from what I've been able to discern, getting a window to dock to the outside of another one is not an easy task. A quick google search turned up this:
http://www.visualbasicforum.com/t54802.html