Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Docking A Window to a control

Status
Not open for further replies.

FireFett

Programmer
Mar 31, 2000
42
US
Hello everyone I have a problem I am trying to work through and don't quiet have my hands around how to solve it yet. I am sure someone out here has done this already.

I have a mdi app and numerous child windows.

on one of the child windows I have a button beside a text box that does nothing more than show a non mdi form that I want to psuedo dock below the text box of the calling child window. my problem is figuring out how to set the position of the non-mdi window so it is positioned below the text box. My first attempt was to get the left and top properties of the mdi window then add the left and top togeather to make a new top and left for the non-mdi window but that didn't work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top