mfc - CMFCPropertyGridCtrl add editable string property -


i derived class cmfcpropertygridctrl add simple interface needs. want add new string value can edit it:

void cpropertygrid::addstring(const char* tag, const char* defaultvalue) {     colevariant valuetype(defaultvalue);     cmfcpropertygridproperty *stringproperty = new cmfcpropertygridproperty(tag, valuetype);     stringproperty->allowedit(true);     addproperty(stringproperty); }

this adds new string in property grid, can't edit it. there way make editable?

thanks!

notify value must set true able edit values


Comments