RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCoolBar.PaintWindow Method

Renders the image of a windowed control.

Pascal
procedure PaintWindow(DC: HDC); override;
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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!