Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - OnDockingPaneNotify
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

OnDockingPaneNotify

 Post Reply Post Reply
Author
Message
asparagusx View Drop Down
Groupie
Groupie


Joined: 06 February 2007
Status: Offline
Points: 53
Post Options Post Options   Thanks (0) Thanks(0)   Quote asparagusx Quote  Post ReplyReply Direct Link To This Post Topic: OnDockingPaneNotify
    Posted: 04 May 2007 at 4:22am
Hallo
 
I am having a strange problem with

OnDockingPaneNotify. It does not appear to be called when a docked pane is being resized e.g. the user picks on the frame a drags it. When the mouse button is released the pane does not resize, however when the parent frame (CMainFrame) is resized or refreshed the pane does update. I have derived my own class from CXTPDockingPane (CDockingPane) - not sure if this is important. Using V 1.042

 

Thanks

Anton Heymann
Back to Top
asparagusx View Drop Down
Groupie
Groupie


Joined: 06 February 2007
Status: Offline
Points: 53
Post Options Post Options   Thanks (0) Thanks(0)   Quote asparagusx Quote  Post ReplyReply Direct Link To This Post Posted: 17 May 2007 at 5:15am
Does anybody have any ideas?
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: 17 May 2007 at 8:47am
Hi,
 
it have to be something in your code. Send your project to support.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
asparagusx View Drop Down
Groupie
Groupie


Joined: 06 February 2007
Status: Offline
Points: 53
Post Options Post Options   Thanks (0) Thanks(0)   Quote asparagusx Quote  Post ReplyReply Direct Link To This Post Posted: 17 May 2007 at 8:52am
Oleg
 
I found the solution myself in the last hour. The issue was related to the fact that when the splitterbar was dragged and then released, the new rectangle for the docking pane was recalulated, which in turned used the function RecalcFrameLayout with Delay = TRUE - this in turn used the idle time mechanism to update the panes. I needed to override idle time processing for my own purposes (in CMainFrame), but did not call the idle processor for CXTPDockingPaneManager and CXTPFrameWnd. Calling the base classes functions have now resolved the issue.
 
Thanks for your reply.
 
Anton Heymann
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.172 seconds.