Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - How to handle pane re-sizing event?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to handle pane re-sizing event?

 Post Reply Post Reply
Author
Message
marik View Drop Down
Newbie
Newbie
Avatar

Joined: 04 January 2008
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote marik Quote  Post ReplyReply Direct Link To This Post Topic: How to handle pane re-sizing event?
    Posted: 23 January 2008 at 11:14am

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

Thanks in advance

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: 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
Back to Top
marik View Drop Down
Newbie
Newbie
Avatar

Joined: 04 January 2008
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote marik Quote  Post ReplyReply Direct Link To This Post 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

 

 

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: 29 January 2008 at 11:57am
Hi,
 
Any CEdit derived control can handle WM_SIZE.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
marik View Drop Down
Newbie
Newbie
Avatar

Joined: 04 January 2008
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote marik Quote  Post ReplyReply Direct Link To This Post 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 

 

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: 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
Back to Top
marik View Drop Down
Newbie
Newbie
Avatar

Joined: 04 January 2008
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote marik Quote  Post ReplyReply Direct Link To This Post 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?

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.125 seconds.