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

CS-Cart - Change login URL in notification email -

elasticsearch - Is the order of operations guaranteed in a bulk update? -

cron - how to properly run Python script with crontab on every system startup -