Thank you for your question.
Since Q3 2009, we have introduced slightly different logic in DockWindow activation. Previously, each newly added window was also activated. Now this is let exclusively to be specified by the user. So, what happens in your case is the following:
- You have one tool window, currently the only one DockWindow, registered with RadDock
- You add new MDI Child, it however is not activated and when the transaction is committed, RadDock will attempt to activate a window by default - in this case toolWindow1.
- Activating an auto-hidden window will animate it and display it on the screen
I have to admit that this logic, in your particular scenario seems a bit strange, so we will do our best to provide a convenient way to control this (for example through a property) and prevent such situations.
Here is what you can do as a quick work-around:
//add sample MDI Child
Form f =
//reset the currently active window and RadDock will activate the newly added one
I would like to thank you for your feedback and for bringing our attention to this issue, your Telerik points are updated accordingly.
Do not hesitate to contact us if you have spotted other issues.
the Telerik team