RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWinControl.PaintWindow Method

Renders the image of a windowed control.

Pascal
procedure PaintWindow(DC: HDC); virtual;
C++
virtual __fastcall PaintWindow(HDC DC);

Call PaintWindow to repaint the control. PaintWindow sends a WM_PAINT message to the windowed control's DefaultHandler method, setting the message record's WParam field to the value passed in DC and the other parameter and result fields to zeros. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!