Docking windows

Posted on 1998-05-12
Last Modified: 2012-06-27
I am creating an application builder that has VB IDE style. I have some windows like the ToolBox and the Project Explorer and I would like to make those windows dockable.
 Right now I am using a MDI form, with  3 form (toolbox, project explorer and a properties)that are not mdi childs, whenever I want to dock the windows I use the SetParent API, and than I hard code the left and top prop. This will  work, but there's several side effect.Once the window is "kind of docked" i can't undock them.
 I do not want to use any ocx. If any of you know somethin' about it please post it. Also, i would like to know if it is possible to use and to distribute the vb5ide.dll (which I am not using), but I plan to do so
Question by:LMSuporte

Author Comment

ID: 1446176
Edited text of question

Expert Comment

ID: 1446177
Can you post the code which you used to dock a window?

Bin Huwairib

Accepted Solution

bin_huwairib earned 200 total points
ID: 1446178
I send you an email explaining how to dock a window, I hope it helps.

Best regards
Bin Huwairib
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.


Expert Comment

ID: 1446179
Can you post the code which you used ?
Send it to

Expert Comment

ID: 2836253
Can you post the code which you used to dock a window?
Send it to or

Andrea Loleo

Expert Comment

ID: 3143631
I spent 20 points buying the answer to this question, but there isn't an answer...please post!!!!!


Expert Comment

ID: 4163046
I hear that.  We've been led down the ol' primrose path.

Author Comment

ID: 4180694
Sorry guys, I lost the source code I receveid. I think you can get a code  at:
(This is not the same on I received from email, but it should work)

If  you cannot get the file let me know and I will send you the source I have...


Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Windows 10 start screen issues 9 55
MS Access - Capture pressed key onclick 4 33
Macro: print each sheet to pdf using ExportAsFixedFormat 11 48
RUNRMTCMD from AS/400 12 47
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question