Search Tools Links Login

Docking and UnDocking of toolbar and other controls

This is an improved version of previos DLL. Now it handles child controls of the container control which is being undocked, plus I've fixed the problem with changing focus. Also I've included test project so you can see how it is suppose to work.
Old ---------------------------------------------
This class allows to undock any control on the form and drag it around. Furthermore, during Undocked state events will be still received at the same place. It is an emulation of the Microsofts abilities to undock panels (ex VB Properties and Toolbar)

Original Author: Maksud Agamirzoyev


There is methods which requires parameters to be passed to it. It is handle to the objects which is being undocked, Caption for the undock form and


It is a self contained Dll, it sould not be required to do any programmimng to undock the control.

Side Effects

It can be a little tricky when dealing with buttons controls. One more thing do not put container object within the container object.
For example frame1 and then frame2 inside of
frame1 and then try to undock frame1, because you will have slight glitches with controls on the frame2

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 84 times


Visual Basic 6

Posted: 9/3/2020 3:45:00 PM
Size: 8,457 bytes

Loading Comments ...


No comments have been added for this post.

You must be logged in to make a comment.