Hello Everyone,
I have to improve an old c++ atl drawing control which has some public properties.
During his configuration on a winform c#, I made changes via the devstudio properties toolbox. Once I ran the c# application, I discovered the modified properties like his title,... were not the one I modified during design time.
I checked the code and from googling, I got the procedure which apparently is using a IPersistPropertiesBag to store these kind of properties.
The problem was once I saved the modified winform (certainly to persist the newly property value), It did not reach the IPersistPropertyBag::Save(...).
Could somebody provides me more information on the best way to proceed.
Which atl persistence interface is invoked by devstudio 2019 to store the modified settings into the resource file ?
Thank you very much in advance.
Enjoy the end year season.
Best regards.
MiQi
What I have tried:
The modification applied to persist these properies are based from the two following acticles:
ATL Persistence Implementations
14.3 Using Property Bags in C++ Code
What they explain seems logical but I am just wondering if from devstudio directly this principle might work.