I'm adding properties to an object of type CMFCPropertyGridCtrl like this:
myPropertyListCtrl.AddProperty(
new CMFCPropertyGridProperty(
_T("Name"),
foo.GetName())
);
The result is that only the second column is visible but not the first that should contain "Name".
- I found
CMFCPropertyGridCtrl::GetPropertyColumnWidth()but there appears to be no correspondingSet...method... - I looked at the
NewControlssample, in which the column sizing appears to be fully automatic. However, I couldn't find the relevant difference to my code.
What am I missing?