Completed
Last Updated: 13 Feb 2015 16:21 by ADMIN
ADMIN
Julian Benkov
Created on: 09 May 2012 06:12
Category: Dock
Type: Bug Report
0
FIX. RadDock - Layout issues with autohide ToolWindow content
This is a follow on from the forum entry http://www.telerik.com/community/forums/winforms/dock/toolwindow-theme-error.aspx 

This is not the exact issue I am having but should hopefully lead you in the correct direction. A panels visibility seems to vary depending on where it is.

If you run the program and open a new tool window by clicking the + button you will get a new docked window.
Change this to a tabbed document.
Then add another window and set it to be docked.
Then add another window and also set it to be docked. Then set it to autohide.

You will see on the tabbed document and the docked unautohide window that there are 2 lines of text. If you now let the auto toolwindow open you will see that there are now three lines of text in this window. The docked autohide is letting the text shine through but only when it is in this state.
1 comment
ADMIN
Ivan Todorov
Posted on: 13 Feb 2015 16:21
RadDock uses the AnimateWindow function (https://msdn.microsoft.com/en-us/library/windows/desktop/ms632669%28v=vs.85%29.aspx) to animate the auto hide windows and according to the MSDN article, there might visual glitches with partially clipped controls.
From the Remarks section:
"If a child window is displayed partially clipped, when it is animated it will have holes where it is clipped."
"Avoid animating a window that has a drop shadow because it produces visually distracting, jerky animations. "

We were able to address the visual glitch that was remaining after the animation was finished, but the glitches during the animation are caused by the AnimateWindow method.