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

many to many - Django Rest Framework ManyToMany filter multiple values -

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

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