Not quite good enough.

That will refresh the desktop background, but any other windows that are
visible do not refresh.

I think I will give up and just use a form's canvas.

Phil.



From: "Alistair George" <[EMAIL PROTECTED]> AT tawa on 24/02/99 11:34 ZE12

To:   Multiple recipients of list delphi <[EMAIL PROTECTED]> AT
      tawa@kauripo@CCMAIL
cc:    (bcc: Phillip Middlemiss/NZ Forest Research Institute/NZ)
Subject:  Re: [DUG]:  Repainting the desktop





Is this what you want:
  SendMessage(FindWindow('Progman', 'Program Manager'),
              WM_COMMAND,
              $A065,
              0);



>I have a routine that grabs the device context of the Screen (I know I
>shouldn't really) and draws to it. When I am finished I need to refresh
the >whole screen to it's original state. Does anyone know how to do such a
>thing? I've tried various combinations of invalidating the whole rectangle
>etc with no joy.
>
>Thanks.
>
>Phil Middlemiss
>[EMAIL PROTECTED]
>
>
>--------------------------------------------------------------------------
-
>    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                  Website: http://www.delphi.org.nz
>

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz







---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to