Print Page | Close Window

Desktop freezing with docking panes

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=10235
Printed Date: 15 November 2024 at 3:00pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Desktop freezing with docking panes
Posted By: Unkn
Subject: Desktop freezing with docking panes
Date Posted: 15 April 2008 at 7:08am

Hi!

I use CXTPDockingPaneManager with UseSplitterTracker(TRUE) and I’ve a problem:

While docking pane resizing or dragging, all applications in the PC look freezing.

You can see this effect in your samples. But it’s unacceptable for my application.

 

I found you call LockWindowUpdate in CXTPSplitterTracker::Track function for DesktopWindow. Why do you use this lock?

 

I can’t use UseSplitterTracker(FALSE) , because there is a lot of drawing in my window attached to docking pane, and in this case, the whole window is flickering to much while pane is dragging or resizing.

 

Could you add in the next ver. a solution of this problem? Perhaps it could be a public method to allow enabling/disabling LockWindowUpdate in CXTPSplitterTracker::Track? Or another solution.




Replies:
Posted By: Oleg
Date Posted: 15 April 2008 at 11:55am
Hi,
 
If you don't want lock, you have to use UseSplitterTracker(FALSE) and optimize your drawing to not flicker. Use double buffer or something.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Unkn
Date Posted: 16 April 2008 at 4:17am

Thank you for your answer, Oleg.

But what reason to lock desktop update with splitter tracker?  Many programs with docking panels (Visual Studio  for example) work without any locks and they all look normal.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net