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

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

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

SonarQube Plugin for Jenkins does not find SonarQube Scanner executable -