I CANT UNDERSTAND UR 1ST QUESTION , But If my understanding is good it
can be solved by opening secod form as dialog and dont use any form as
topmost.

for second problem u can just set forms borderstyle property NoBorder

On 2/23/09, Savani Mahesh <[email protected]> wrote:
> 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