WinBatch® Technical Support Forum

Archived Boards => WinBatch Dynamic Dialogs => Topic started by: stevengraff on June 02, 2014, 06:58:21 AM

Title: Dialog stops refreshing
Post by: stevengraff on June 02, 2014, 06:58:21 AM
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?
Title: Re: Dialog stops refreshing
Post by: JTaylor on June 02, 2014, 07:06:33 AM
Are you disabling the dialog using DialogProcOptions?  If not, you will want to do that and it should solve your problem.

Jim
Title: Re: Dialog stops refreshing
Post by: stevengraff on June 02, 2014, 07:10:17 AM
Indeed it does, thank you!