[fpc-pascal]Win32 Question
Hans MÃ¥rtensson
hm at os.dk
Thu Dec 19 12:33:12 CET 2002
At 23:25 18-12-02 -0000, you wrote:
> For some reason, it seems that the application
>is never receiving the WM_PAINT message, and therefore the screen is never
>being repainted.
I had the same problem once, and the solution I got from this mail list was
to add the following call:
invalidaterect(window,0,true);
because the system must have the information that the window needs repaint.
(The 0 means all the window. Alternatively a rectangle can be specified.)
Hans Maartensson
More information about the fpc-pascal
mailing list