RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ComCtrls.TCustomDrawTarget Enumeration

TCustomDrawTarget specifies the target of a custom drawing event.

Pascal
TCustomDrawTarget = (
  dtControl,
  dtItem,
  dtSubItem
);
C++
enum TCustomDrawTarget {
  dtControl,
  dtItem,
  dtSubItem
};

ComCtrls

TCustomDrawTarget is used to indicate a specific type of custom drawing event. The following table lists the possible values:

Value 
Meaning 
dtControl  
The event occurs when the entire control needs to be painted.  
dtItem  
The event occurs when an individual item within the control needs to be painted.  
dtSubItem  
The event occurs when a subitem needs to be painted.  

 

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