Dialog stops refreshing

Started by stevengraff, June 02, 2014, 06:58:21 AM

Previous topic - Next topic

stevengraff

http://screencast.com/t/GTdHRKeEz7

(As shown in this video) I have a dialog with a callback routine that queries a database, then processes the names and addresses for the purpose of printing labels. During the processing, I provide feedback to the user by way of Jim's progress bar, and by updating a static text control.

For some reason after a few hundred updates, the updating stops (though the actual processing continues in the background). It doesn't seem to matter whether I'm updating the progress bar, the text, or both.

Probably not unrelated... I provide the user the ability to press the shift key to interrupt processing. If the user does interrupt the process, the updating resumes upon the user declining to exit.

Is there some kind of graphics buffer that's getting filled up? and is there anything I can do about it?

JTaylor

Are you disabling the dialog using DialogProcOptions?  If not, you will want to do that and it should solve your problem.

Jim

stevengraff