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

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -