Search Tools Links Login

Docking and UnDocking of toolbar and other controls


Update----------------------------------------
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

Inputs

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
position.

Assumptions

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

Categories

Visual Basic 6

Attachments

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


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.