<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#ffffff">
<a class="moz-txt-link-freetext" href="http://bugs.freepascal.org/view.php?id=19723">http://bugs.freepascal.org/view.php?id=19723</a><br>
<blockquote type="cite"> It would be nice to have
TControl.InvalidateRect, so that component developers can avoid
calls to LCLIntf.InvalidateRect :-) </blockquote>
<br>
---<br>
<span class="small"></span>
<blockquote type="cite"><a href="mailto:zeljko@holobit.net">Zeljan
Rikalo</a> <span class="small">(developer)</span> <a
name="bugnotes" id="bugnotes">Not problem with implementing
that, but one can say we can implement almost all winapi
functions into TControl to avoid LCLIntf usage.<br>
I'm not against adding InvalidateRect(R: TRect) into TControl,
but there must be<br>
agreement from other devels about it</a></blockquote>
<br>
<br>
There is the question of drawing a lie, to how much to put on
TWinControl.<br>
There are more Handle related functions... So there could be an
additional HandleObject property, with an object representing the
handle.<br>
Though, IMHO that would be too much...<br>
<br>
<br>
What is the specific use case for it?<br>
I can only really see use, if you develop your own component. But
then you can add it there...<br>
</body>
</html>