Print Page | Close Window

Property Grid Collapse

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=884
Printed Date: 25 December 2024 at 9:17am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Property Grid Collapse
Posted By: AliRafiee
Subject: Property Grid Collapse
Date Posted: 23 June 2004 at 4:08pm
Hi guys,

I have a CXTPPropertyGridItemNumber which has a slider control embeded inside of it. I want to have the slider control visible all the time, which is not a problem. Here is the problem that I am having. I can't seem to find a place where I get notified that the item has been collapsed, so that I can hide the slider.
What I was going to do is to add a
virtual void ShowItem(BOOL)
method to the CXTPPropertyGridItem class which gets called everywhere the m_bVisible flag is being set. That way I can overwrite the method in order to get notified that the object is no longer being drawn. Do you have a better suggestion?

thanks
Ali Rafiee



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