Print Page | Close Window

Title Bar Flicker During Dock Panel Rearranging

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
Printed Date: 15 August 2022 at 8:15pm
Software Version: Web Wiz Forums 12.04 -

Topic: Title Bar Flicker During Dock Panel Rearranging
Posted By: Slamma
Subject: Title Bar Flicker During Dock Panel Rearranging
Date Posted: 08 October 2008 at 2:10pm

My application has different docking pane arrangements selectable via the main menu.  When the user selects a new layout the application rearranges all the docking panes.

To arrange them, the application shows all the docking panes using ->ShowPane(), then docks them using ->DockPane(), then hides unused panes for the selected layout using ->ClosePane().

This appears to work properly but the titlebar flickers rapidly during the process and the arrangement takes approximately half a second to arrange a dozen panes or so.

Is there something I need to disable while arranging to speed this up and stop the titlebar flicker?

Posted By: znakeeye
Date Posted: 09 October 2008 at 5:30pm

Use a layout instead!

This is how I do it:
m_pPaneLayout = m_paneManager.CreateLayout();
if (!m_pPaneLayout->Load(_T("Layout1")))
    m_paneManager.ShowPane(pPane1, FALSE);
    m_paneManager.ShowPane(pPane2, FALSE);

Posted By: Slamma
Date Posted: 14 October 2008 at 1:27pm
Thank you, znakeeye

Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 -
Copyright ©2001-2021 Web Wiz Ltd. -