[Lazarus] Getting update rect/region in Windows

Luiz Americo Pereira Camara luizmed at oi.com.br
Mon May 23 01:09:57 CEST 2011


On 22/5/2011 06:37, Max Vlasov wrote:
>
> So the questions are:
> - is there a chance to intervene into lazarus drawing chain to get the 
> update region before lazarus root windowproc call.

In WMPaint do:

FUpdateRect := Message.PaintStruct^.rcPaint;

It's the same value as GetUpdateRect before BeginPaint

Luiz




More information about the Lazarus mailing list