Docking windows

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
Who is Participating?
bin_huwairibConnect With a Mentor Commented:
I send you an email explaining how to dock a window, I hope it helps.

Best regards
Bin Huwairib
LMSuporteAuthor Commented:
Edited text of question
Can you post the code which you used to dock a window?

Bin Huwairib
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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

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

I hear that.  We've been led down the ol' primrose path.
LMSuporteAuthor Commented:
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...

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.