I can't explain the behaviour you describe as I have never tried it,
but...
Why don't you try a different approach?
Maybe send the message to a file? and print the file at the end of each day etc?
or try
Set printer on
?
Set printer off
With the system you describe, doesn't it use a lot of paper?
HTH
>Hi,
>
>I have an VFP3 application that runs minimzed. It wakes up every 10 seconds, scans a database table and uses ??? to print out any messages that have not been printed. I minimize the window with _Screen.WindowState=1.
>
>I moved this application to VFP6, and whenever the application has to print something, the minimized window restores itself so that it is on the desktop.
>I don't know why the window doesn't stay minimized. Any ideas on what is going on?
>
>Thanks,
>
>Mark
Will Jones