Hi Tom,
You would want to bind WM_ACTIVATE to a custom method because Refresh() will be queued and in the tough loop not refresh the form immediately. In the method you would use Thisform.Draw() or Thisform.Paint() (whichever works for you). The rest of the technical details should be covered by VFP sample code.
>Sergey, thanks for another great idea to solve my problem. Unfortunately, I do not use VFP nearly as much as I used to and have never used BINDEVENT(). I did look a the solutions samples you mentioned but not sure I have it right. This is what I think needs to happen can you tell me if this is correct.
>
>1.) Inside the LOAD event of the form I want to show put in this code (not sure if _VFP.hWnd should be in 1st param)
> BINDEVENT( _VFP.hWnd, WM_ACTIVATE, ThisForm, "refresh" )
>
>2.) Inside the UNLOAD event
> UNBINDEVENT( _VFP.hWnd, WM_ACTIVATE )
>
>Is that it? Are the BINDEVENT and UNBINDEVENT calls in the correct place such that when I begin the intensive app it appears, I click on another window (say IE) then click back I will get my form to show the status instead of a blank screen as it is now?
>
--sb--