Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Disable CExtPropertyGridToolBar Collapse All
Subject Author Date
Jose Andres Jan 17, 2007 - 5:21 PM

How to disable(make it invisible) CExtPropertyGridComboBoxBar and CExtPropertyGridToolBar in a property grid?

Technical Support Jan 19, 2007 - 3:30 AM

You can use a CExtPropertyGridCtrl-derived class in which the OnPgcCreateBars() method is overridden in a way that it is mainly similar to the original one but you should not create the CExtPropertyGridComboBoxBar window in it. Another way is to call CExtPropertyGridCtrl::GetChildByRTC() in order to get a pointer to the created CExtPropertyGridComboBoxBar window, hide it and finally call CExtPropertyGridCtrl::RecalcLayout().

Suhai Gyorgy Jan 18, 2007 - 2:46 AM

There’s an article about Property Grid. In that there’s a part that explains how you can hide those child control. Here’s the link.