visual c++ - How to force CMFCPropertyGridCtrl to refresh after adding an item? -


i add item cmfcpropertygridctrl, new item not show if click cmfcpropertygridctrl.

now have indirect solution show new item calling expandall(), don't want expand have collapsed.

is there way show new item gracefully ?

after cmfcpropertygridproperty.addsubitem() call, new item show following 2 calls:

yourgridctrl.adjustlayout(); yourgridctrl.redrawwindow(); 

hope helps !


Comments

Popular posts from this blog

serialization - Convert Any type in scala to Array[Byte] and back -

Slow performance first queries on SQL Azure -

Java Entity Manager - JSON reader was expecting a value but found 'db' -