Print Page | Close Window

OnDockingPaneNotify

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=7038
Printed Date: 27 September 2024 at 6:59pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: OnDockingPaneNotify
Posted By: asparagusx
Subject: OnDockingPaneNotify
Date 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



Replies:
Posted By: asparagusx
Date Posted: 17 May 2007 at 5:15am
Does anybody have any ideas?


Posted By: Oleg
Date 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


Posted By: asparagusx
Date 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



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