TabDock Control: Provides Docking for Forms and Controls

Forms and Controls

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
TabDock was originally written by Marclei V Silva and posted on Planet-Source-Code. For those of you who have never seen it, it is an excellent control which gives programmers the ability to create docking windows similiar to those found in Visual Basic. Unfortunatly it did have some nasty bugs. In my first revision release I cleaned up a number of those bugs. This release has one heavily requested feature and another feature I myself felt it should have. Feature 1) Unfortunatly it's not possible without a form being an mdi child to have it and the parent truly holding focus, however thanks to some ideas from vba and a little subclassing I was able to make it appear like the parent form holds focus. The titlebar is still the focus color as you will see in the screenshot where both it and a docked window hold focus :) Feature 2) Persistent - This is an optional setting. Its effect is that all your forms' locations will be stored in the registry for you when the app loads/unloads. All you as the programmer have to do is set persistent to true :) Subclassing is also as before embeded into the control so you no longer have to include the ssubtmr6.dll and for this reason I think it should work in vb5. If there are problems relating to vb5 please contact me. As before because this is hardly my work, just a revision. Thank you and enjoy :)

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.