[fpc-pascal]Re: Win32 windows update
Hans MÃ¥rtensson
hm at postkasse.net
Wed Oct 23 15:44:17 CEST 2002
>>So how do you get the OS to immediately update the window and redraw
everything in it and show the result?
>>
>To my knowledge most usual way is to call InvalidateRect. (Its
>ok to specify the entire window for invalidation, to be simple)
>As a result you normally get WM_PAINT then as soon as no other
>messages in the queue.
>--
> Nikolai Zhubr
YES, it works. Thank you very much!
I'm still wondering why I can't send a wm_paint message with a call to
postmessage, but never mind, this works.
best regards
Hans Maartensson
More information about the fpc-pascal
mailing list