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 » CExtPropertyGridCtrl description with no item selected Collapse All
Subject Author Date
Krustys Donuts Mar 2, 2006 - 1:36 PM

Hi. Is there a way to have the description pane show a description even though no item in the CExtPropertyGridCtrl is selected?

Technical Support Mar 4, 2006 - 4:16 AM

The tip bar in the property grid control is implemented in the CExtPropertyGridTipBar class. So, you need to code your tip bar and override the following virtual methods:

virtual CExtSafeString PropertyNameGet();
virtual CExtSafeString PropertyDescriptionGet();
Your methods may return custom text regardless of whether the grid is empty or not. You also need to use your own CExtPropertyGridCtrl-derived class and override the CExtPropertyGridCtrl::OnPgcCreateBars() virtual method. Make it similar to the original method except for creating the tip bar using your CExtPropertyGridTipBar-derived class.