Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Desktop freezing with docking panes
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Desktop freezing with docking panes

 Post Reply Post Reply
Author
Message
Unkn View Drop Down
Newbie
Newbie


Joined: 15 April 2008
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Unkn Quote  Post ReplyReply Direct Link To This Post Topic: Desktop freezing with docking panes
    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.

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Unkn View Drop Down
Newbie
Newbie


Joined: 15 April 2008
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Unkn Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

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

This page was generated in 0.188 seconds.