How to handle pane re-sizing event? |
Post Reply |
Author | |
marik
Newbie Joined: 04 January 2008 Status: Offline Points: 6 |
Post Options
Thanks(0)
Posted: 23 January 2008 at 11:14am |
How to handle a pane re-sizing event within OnDockingPaneNotify? Thanks in advance |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi, There is no notification. You have to catch WM_SIZE in your windows attached to panes. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
marik
Newbie Joined: 04 January 2008 Status: Offline Points: 6 |
Post Options
Thanks(0)
|
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 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Any CEdit derived control can handle WM_SIZE.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
marik
Newbie Joined: 04 January 2008 Status: Offline Points: 6 |
Post Options
Thanks(0)
|
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? |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
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 |
|
marik
Newbie Joined: 04 January 2008 Status: Offline Points: 6 |
Post Options
Thanks(0)
|
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? |
|
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 |