I'm developing my ActiveX control using Visual Studio 2008 and MFC.
I'm experimenting a strange behavior of the IDE.
well, my Actviex has some property pages in order to edit properties
(in design mode, obviously). If I changed properties in only one page
and apply (button apply) them, it works fine.
If I change some properties in the first property page, then I switch
to the second property page and I change more properties, so when I
press the apply button, the properties of the first page are correctly
applied, but the changes on the second page are thrown away, and the
old values are reload.
It seems a behavior of the resource editor of VS2008. I checked with
debugger, and it seems the changes of properties in one page causes
the reload of properties of the other pages (via
COlePropertyPage::XPropNotifySink::OnChanged(DISPID))
I have difficulty to understand this behavior, there is a workaround
or some bugs to fix, or is there something I ignore ?
thank you very much.
Porlock