<div dir="ltr"><br><br><div class="gmail_quote">On Tue, Aug 17, 2010 at 3:48 AM, Alexander Klenin <span dir="ltr"><<a href="mailto:klenin@gmail.com">klenin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2010/8/17 Zaher Dirkey <<a href="mailto:parmaja@gmail.com">parmaja@gmail.com</a>>:<br>
<div><div></div><div class="h5">> In TGraphicControl Canvas.ClipRect have value depend on the Parent of this<br>
> control (e.g. Form), while in Win32 it get based on Left and Top of the<br>
> Control<br>
> it is make problem with Controls use Canvas.ClipRect and InvalidateRect,<br>
> like TGrid.<br>
><br>
> Lazarus SVN #27109<br>
><br>
> Thanks in advance.<br>
<br>
</div></div>May be related to <a href="http://bugs.freepascal.org/view.php?id=15508" target="_blank">http://bugs.freepascal.org/view.php?id=15508</a> --<br>
similar problem on Win32<br>
<br></blockquote><br clear="all"></div>That bug for SetClipRect, the bug in my hand when make InvalidateRect to a for TGraphicControl, in Win32 received correct ClipRect, in WinCE nop<br>I think it is depend on MoveWindowOrg.<br>
<br>PaintControls draw the controls after move the coordinates by call MoveWindowOrg(DC, Left, Top) at this time the ClipRect (ClipBox) must be moved in WinCE but that not happened.<br><br>Thanks<br><br>-- <br>Zaher Dirkey<br>
</div>