I have an MDI form which contains a tree (docked left) which acts as a menu for opening MDIChild forms. When i click on a node of the tree (in NodeMouseClick event), a new MDIChild form is opened. The problem is that it does not receive the focus. The focus always remains on the tree. The MDIChild form does not have a Title and is maximized within the parent MDI form.
What I have tried:
I have tried using .Focus, Activate, BringToFront on the MDIChild form without any luck.
Is there a solution to this problem? Using .NET 4.0.3.