RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ComCtrls.THitTest Enumeration

THitTest and THitTests are used in the GetHitTestInfoAt method.

Pascal
THitTest = (
  htAbove,
  htBelow,
  htNowhere,
  htOnItem,
  htOnButton,
  htOnIcon,
  htOnIndent,
  htOnLabel,
  htOnRight,
  htOnStateIcon,
  htToLeft,
  htToRight
);
C++
enum THitTest {
  htAbove,
  htBelow,
  htNowhere,
  htOnItem,
  htOnButton,
  htOnIcon,
  htOnIndent,
  htOnLabel,
  htOnRight,
  htOnStateIcon,
  htToLeft,
  htToRight
};

ComCtrls

THitTests is a set of THitTest values. THitTest can have any of the following values:

Value 
Means the point is 
htAbove  
Above the client area.  
htBelow  
Below the client area.  
htNowhere  
Inside the control, but not on an item.  
htOnItem  
On an item, its text, or its bitmap.  
htOnButton  
On a button.  
htOnIcon  
On an icon.  
htOnIndent  
On the indented area of an item.  
htOnLabel  
On a label.  
htOnRight  
On the right side of an item.  
htOnStateIcon  
On a state icon or bitmap associated with an item.  
htToLeft  
To the left of the client area.  
htToRight  
To the right of the client area.  

 

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