RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ComCtrls.TCustomDrawStage Enumeration

TCustomDrawStage specifies a stage in the custom drawing process.

Pascal
TCustomDrawStage = (
  cdPrePaint,
  cdPostPaint,
  cdPreErase,
  cdPostErase
);
C++
enum TCustomDrawStage {
  cdPrePaint,
  cdPostPaint,
  cdPreErase,
  cdPostErase
};

ComCtrls

Use TCustomDrawStage to determine when an advanced custom drawing event occurs:

Value 
Meaning 
cdPrePaint  
Before painting.  
cdPostPaint  
After painting.  
cdPreErase  
Before erasing.  
cdPostErase  
After erasing.  

 

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