Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

The container seems to think that my my controls properties have changed, but they haven . Why?

0
Posted

The container seems to think that my my controls properties have changed, but they haven . Why?

0

Another good find passed on by Duane Morse (duane@anasazi.com): The DoPropExchange method in a control will call the “Set” methods when it reads stored property values. If you used the MFC ClassWizard to generate the prototypes for the Set methods, those routines will end by calling SetModifiedFlag. Well, it’s senseless to set the modified flag when values are being loaded by DoPropExchange when a program starts up because the properties aren’t really being modified; rather, they are receiving the initial runtime values. The result of thisbug is that the user will be asked if he wishes to save changes to a form (VB) or dialog (VC++) when no changes have been made.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123