ToolWindowLayoutData support SuspendLayout

Docking/MDI for Windows Forms Forum

Posted 1 year ago by Amyn Virani
Version: 16.1.0330
Avatar

When we try to load the layout by setting the appropriate value for dockManager.ToolWindowLayoutData, it seems visually like as if all the ToolWindows are closed initially and then reopened based on the new Layout information which takes a few second. Is there a way that when a new layout is loaded, we could freeze the old layout screen or show a blank layout and once the layout is loaded in memory, the display could refresh. All we are trying to do is trying to make the transition between layout smooth.

Thanks.

Comments (1)

Posted 1 year ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

My guess is that the process of altering the layout (changing which controls are in what) is stlll firing paint events while it happens.  You could try calling SuspendLayout on the host container control prior to the layout change and ResumeLayout after.  I'm not sure if that will help.  If it doesn't you could try hiding the host container (possibly showing something on top) and then show it again when it's done.


Actipro Software Support

The latest build of this product (v2018.1 build 0341) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.