Declaration ​
pascal
IUpdateRectSupport = interface(IUnknown)Description ​
IUpdateRectSupport provides control invalidation and update region retrieval routines for GUI controls (TWinControl).
Methods ​
InvalidateRect ​
pascal
procedure InvalidateRect(AControl: TWinControl; const ARect: TRect);Invalidates a specific rectangular region ARect of AControl, triggering a repaint.
GetUpdateRects ​
pascal
procedure GetUpdateRects(AControl: TWinControl; AUpdateRects: TRectList; AReservedCapacity: integer; var AFullUpdate: boolean);Queries the operating system update region for AControl and populates AUpdateRects with individual bounding rectangles. Sets AFullUpdate to True if a full control repaint is required.