Can't do that, I only have a handle to a device context, not a window
(although I tried it anyway and it didn't work - smae with passing 0 as the
handle)
From: "Alex Kouznetsov" <[EMAIL PROTECTED]> AT tawa on 24/02/99 12:07
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
You may try to add UpdateWindow after invalidating (just a thought).
>Hi all,
>
>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