Print Page | Close Window

run-time information

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=97
Printed Date: 29 April 2024 at 9:18am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: run-time information
Posted By: Kimeli
Subject: run-time information
Date Posted: 14 July 2003 at 1:24am

DECLARE_DYNAMIC and IMPLEMENT_DYNAMIC macros to the CXTPPropertyGridItem would be nice. Or is there any other way to check for example 'is this CXTPPropertyGridItemColor?' than CObject::IsKindOf(...)?

dynamic_cast is quite ok, except that it throws bad_casts -> ugly.




Replies:
Posted By: Oleg
Date Posted: 14 July 2003 at 2:25am
You are right. Added.



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