Object Data lost when dialog is moved 'off screen
-
I am using version C++ 6.0 (and ported another application to VS2008 and I have the same problem). I have multiple dialogs in my application. It has been in use for years and now it has been noticed that if a edit box, checkbox, etc. is changed and then the dialog is dragged to more than 1/2 off the monitor's screen, that the data is reset. This is confusing to me. It seems like it has something to do with Paint, but I am not able to figure it out. Any assistance would be appreciated. Thanks. Walt
-
I am using version C++ 6.0 (and ported another application to VS2008 and I have the same problem). I have multiple dialogs in my application. It has been in use for years and now it has been noticed that if a edit box, checkbox, etc. is changed and then the dialog is dragged to more than 1/2 off the monitor's screen, that the data is reset. This is confusing to me. It seems like it has something to do with Paint, but I am not able to figure it out. Any assistance would be appreciated. Thanks. Walt
Is there an OnActivate handler that might be getting called which is resetting the controls? What message handlers have been implemented for the dialog?
The difficult we do right away... ...the impossible takes slightly longer.
-
Is there an OnActivate handler that might be getting called which is resetting the controls? What message handlers have been implemented for the dialog?
The difficult we do right away... ...the impossible takes slightly longer.
Richard, Thanks for the reply. I checked my code and I do not have any OnActivate handlers. Thanks. Walt