Print Page | Close Window

Can I hide propertygriditems?

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=11756
Printed Date: 22 November 2024 at 4:58am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Can I hide propertygriditems?
Posted By: andrewg
Subject: Can I hide propertygriditems?
Date Posted: 07 August 2008 at 10:38am
I don't want to remove a propertygriditem completely but would just like to make it invisible. Has anyone ever done this or know how to?



Replies:
Posted By: ABuenger
Date Posted: 07 August 2008 at 11:10am
CXTPPropertyGridItem::SetHidden(TRUE)

Actually the property grid items have two members which seem to be the same:

BOOL  m_bVisible;         // Visibility of the item.
BOOL  m_bHidden;        // TRUE if item is hidden


@Oleg: Can we get rid of the m_bHidden and instead add a SetVisible() method? That would make it more consistent with other classes.



-------------
Codejock support


Posted By: Oleg
Date Posted: 08 August 2008 at 6:40am

They are not really same - m_bVisible will be FALSE if user collapse parent node.  m_bHidden developer-defined visibility.



-------------
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