What does the cmfcpropertygridctrl class do?

What does the cmfcpropertygridctrl class do?

Called by the framework to validate property data. The CMFCPropertyGridCtrl class displays a property grid control that contains editable properties derived from the CMFCPropertyGridProperty class.

How to validate and update data in cmfcpropertygridctrl?

But in the override of ValidateItemData function, the values obtain from CMFCPropertyGridProperty are always the original (not the edited) values except for combo box selection items. I searched the MSDN and can not find any other functions like GetItemText () etc. for getting the edited value.

Is there a method to detect Thos in cmfcpropertygridctrl?

I have noticed the method OnPropertyChanged as part of the CMFCPropertyGridCtrl class and there is a similar method for the CComboBox to detect the selection.. but I need to handle thos somewhere and I am not sure where and how.

How to configure a property grid control object?

The following example demonstrates how to configure a property grid control object by using various methods in the CMFCPropertyGridCtrl class. The example demonstrates how to enable the header control, enable the description area, and set the appearance of the property grid control.

How do you format a string in cmfcproperty?

Format string for a value of type double. Format string for a value of type float. Format string for a value of type long. Format string for a value of type short. Use a CMFCPropertyGridProperty object to represent a property, which you then add to a property list control.

How to add a sub item to a cmfcproperty class?

The example also demonstrates how to use various methods in the CMFCPropertyGridProperty class to add an option, add a sub-item, enable a property, and show a property. This example is part of the New Controls sample.