Desktop freezing with docking panes |
Post Reply |
Author | |
Unkn
Newbie Joined: 15 April 2008 Status: Offline Points: 2 |
Post Options
Thanks(0)
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. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
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 |
|
Unkn
Newbie Joined: 15 April 2008 Status: Offline Points: 2 |
Post Options
Thanks(0)
|
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. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |