1

I was looking for a method through MSDN (more precisely in here: http://msdn.microsoft.com/en-us/library/vstudio/bb983759.aspx) which would indicate if a Subitem's value in a PropertyGrid was changed or not, but I couldn't find anything. Does this method actually exists or I should implement it by myself?

Mudkip
  • 373
  • 6
  • 27

1 Answers1

0

You can use CMFCPropertyGridProperty::IsValueChangedIsModified():

Indicates whether the value of the current property has changed

Edward Clements
  • 5,040
  • 2
  • 21
  • 27
  • Thanks! I've tried to use it in a method located in PropertiesWnd.cpp, but IsValueChanged() is a protected method. The code is something like this: void CPropertiesWnd::Update() { CMFCPropertyGridProperty * PropSel; PropSel = m_wndPropList.GetCurSel(); PropSel->IsValueChanged(); //error! The method is protected } What should I do? Thanks again! – Mudkip Jun 26 '13 at 19:59