Print Page | Close Window

Deriving from property grid (MFC)

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Property Grid
Forum Description: Topics Related to Codejock Property Grid
URL: http://forum.codejock.com/forum_posts.asp?TID=2518
Printed Date: 22 November 2024 at 4:17am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Deriving from property grid (MFC)
Posted By: bilus
Subject: Deriving from property grid (MFC)
Date 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



Replies:
Posted By: craig
Date 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



Posted By: craig
Date Posted: 03 May 2006 at 5:44pm
I've submitted this question as a tech support issue as well.


Posted By: Oleg
Date 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



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