Hi,

Visual Studio 2005, C# .Net 2.0. Window Forms Application.

I created a form with 2 panels. One panel containing 3 links to other 3
forms, second panel to hold the form. When user clicks on a link, I create
instance of form, set its TopLevel property to false and add the form to
second panel.

Problems I am facing are,
1) Form residing into the panel never get focus. So all shortcuts which
works fine, when form is opened normally as a TopLevel control, do not work.
The reason I guess is that "Form Into Panel" never gets windows messages,
generated by OS central message loop, instead its parent form gets messages.

2) The form added to panel is floating. How to stop floating?

Please any one can help.

Regards,
Mahesh

Reply via email to