Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Property Grid
  New Posts New Posts RSS Feed - Deriving from property grid (MFC)
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Deriving from property grid (MFC)

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


Joined: 05 July 2005
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote bilus Quote  Post ReplyReply Direct Link To This Post Topic: Deriving from property grid (MFC)
    Posted: 05 July 2005 at 8:47am
Hello,

I'm currently evaluating your Property Grid.

I have derived a class (e.g. MyPropertyGrid) from your Property Grid. I need to handle the XTPWM_PROPERTYGRID_NOTIFY notification (XTP_PGN_ITEMVALUE_CHANGED) or its equivalent (virtual override) in MyPropertyGrid.

Is this possible? Basically, I need a method in MyPropertyGrid called whenever a property item changes.

Thank you very much for any help you can provide.

Best regards,
Martin Bilski
Xtreeme GmbH


Edited by bilus
Back to Top
craig View Drop Down
Groupie
Groupie


Joined: 11 August 2005
Location: United States
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote craig Quote  Post ReplyReply Direct Link To This Post Posted: 02 May 2006 at 9:49pm
I have the same question.  If I use the normal MFC message map facilities I get link errors.  Is it possible to create a class with CXTPPropertyGrid as a base class that can process MFC and XTP messages?

Thanks,
Craig

Back to Top
craig View Drop Down
Groupie
Groupie


Joined: 11 August 2005
Location: United States
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote craig Quote  Post ReplyReply Direct Link To This Post Posted: 03 May 2006 at 5:44pm
I've submitted this question as a tech support issue as well.
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: 04 May 2006 at 11:14am

Hello,

Before to send message to parent, all messages come to

CXTPPropertyGrid::SendNotifyMessage method. So you can just override it.

Not sure if this method was before 10.0....

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