Can I hide propertygriditems? |
Post Reply |
Author | |
andrewg
Groupie Joined: 24 September 2007 Status: Offline Points: 41 |
Post Options
Thanks(0)
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?
|
|
ABuenger
Newbie Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
|
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
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
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 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |