OnDockingPaneNotify |
Post Reply |
Author | |
asparagusx
Groupie Joined: 06 February 2007 Status: Offline Points: 53 |
Post Options
Thanks(0)
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 |
|
asparagusx
Groupie Joined: 06 February 2007 Status: Offline Points: 53 |
Post Options
Thanks(0)
|
Does anybody have any ideas?
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
it have to be something in your code. Send your project to support.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
asparagusx
Groupie Joined: 06 February 2007 Status: Offline Points: 53 |
Post Options
Thanks(0)
|
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
|
|
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 |