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

How to handle message from pane?

 Post Reply Post Reply
Author
Message
Mhutabor View Drop Down
Newbie
Newbie


Joined: 12 January 2009
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mhutabor Quote  Post ReplyReply Direct Link To This Post Topic: How to handle message from pane?
    Posted: 12 January 2009 at 2:42pm
I have MDI app with pane with CXTPPropertyGrid. I need to handle message from Expand Button inside this grid.
Thanks!
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: 13 January 2009 at 6:32am
Hi,
 
See code in Samples\PropertyGrid\GridSample\PropertyGridDlg.cpp .
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Mhutabor View Drop Down
Newbie
Newbie


Joined: 12 January 2009
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mhutabor Quote  Post ReplyReply Direct Link To This Post Posted: 13 January 2009 at 7:16am
Where should i place handler for XTPWM_PROPERTYGRID_NOTIFY message? I have PropertyGrid attached to CXTPDockingPane. I tried to catch this message in main frame and child frame class.
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: 15 January 2009 at 3:57am

Hi,

Call m_wndPropertyGrid.SetOwner(this) and catch it in MainFrame (if this == MainFrame)
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.203 seconds.