Professional User Interface Suite, Copyright FOSS Software Inc. Help Published with Permission.

There are two ways doing this. The first is to call CExtPropertyGridCtrl::GetChildByRTC() in order to get a pointer to the CExtPropertyGridComboBoxBar window, hide it and finally call CExtPropertyGridCtrl::RecalcLayout(). The second is to override the OnPgcCreateBars() method in a CExtPropertyGridCtrl-derived class so the new method is the same as the original one except for the CExtPropertyGridComboBoxBar window that should not be created in it.