Print Page | Close Window

How to handle pane re-sizing event?

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=9396
Printed Date: 12 December 2024 at 3:46pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to handle pane re-sizing event?
Posted By: marik
Subject: How to handle pane re-sizing event?
Date Posted: 23 January 2008 at 11:14am

How to handle a pane re-sizing event within OnDockingPaneNotify?

Thanks in advance




Replies:
Posted By: Oleg
Date Posted: 23 January 2008 at 1:45pm

Hi,

There is no notification. You have to catch WM_SIZE in your windows attached to panes.



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: marik
Date Posted: 29 January 2008 at 11:46am
 
Thanks Oleg

 

However, I see that messages are pumping into OnDockingPaneNotify when splitter is moving. Any idea what kind of message I can to handle in order to trace dock splitter movement?

 

Or, do you have CEdit-dervied control that handles WM_SIZE?

 

Thanks in advance

 

 



Posted By: Oleg
Date Posted: 29 January 2008 at 11:57am
Hi,
 
Any CEdit derived control can handle WM_SIZE.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: marik
Date Posted: 29 January 2008 at 12:01pm

However, I see that messages are pumping into OnDockingPaneNotify when splitter is moving. Any idea what kind of messages I need to handle in order to trace dock splitter movement?

 

And are you planning to add this functionality in the future?

 

Thx 

 



Posted By: Oleg
Date Posted: 29 January 2008 at 1:04pm

Hello,

It sends XTP_DPN_SHOWWINDOW. But DockingPane sends it in another situations too.
 
I don't see situations when you need such message... Can you describe me what do you want add in handler ?


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: marik
Date Posted: 29 January 2008 at 1:10pm
Hello, hello
 
I need to adjust size of a view embedded to a pane by SendMessage(WM_SIZE) to parent view when size of the embedded view changed by moving splitter, which causes neighbor edit controls got resized.

 

Does it make sense?




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