I have CMFCPropertyGrid control to which I have added a Combobox property with CMFCPropertyGridProperty::AddOption():
foreach(auto i, list)
{
str.Format(_T("<%s> %s"), i.first, i.second);
pProp->AddOption(str);
}
Now I need to do some code when the user drops down the list in this CMFCPropertyGrid.
I would use CBN_DROPDOWN if it were a combobox control in dialog window (it has ID). But how can I do that in case of CMFCPropertyGrid?