Re: Form Refreshes

Tech-Archive recommends: Fix windows errors by optimizing your registry



Yes Jeffreys post is the way to go. This (having tested it now) does not
work as you wish.

br,
Mark.


"Mark Broadbent" <nospam@xxxxxxxxxx> wrote in message
news:ue%23ifkudFHA.3040@xxxxxxxxxxxxxxxxxxxxxxx
> The paint event should indicate this. You should be able to redraw using
> the .Refresh() method of the form.
> Can't test this at the moment but should do the trick.
>
> br,
>
> Mark.
>
>
> "Steven Perry" <dotsperrynet@xxxxxxxxxxxxx> wrote in message
> news:EE29C491-49C1-4755-9C53-2947B19ECF44@xxxxxxxxxxxxxxxx
>>I have a WinForms application that displays a dialog. A button on this
>> dialog causes a routine to execute that can take upto 10 minutes to run.
>> This routine raises events to inform the dialog of it's progress. The
>> Dialog
>> updates the statusbar and a progress bar with the status it receives.
>>
>> My problem is if the dialog is covered in any way by another window it
>> doesn't redraw itself. Is there a way to fix this problem? Is there an
>> event I can catch that will let me know that the Dialog needs to be
>> refreshed?
>>
>> --
>> Thanks,
>>
>> Steven Perry
>
>


.


Quantcast