ControlAtPoint function
Return to Introduction  Previous page  Next page
Unit
acUtils  

Declaration
function ControlAtPoint(Point: TPoint;   
    SkipInvisible: Boolean = True;  
    SkipDisabled: Boolean = False;  
    SkipTransparent: Boolean = False): TControl;  

Description
The ControlAtPoint retreives the control that contains the specified point.  
 
The main advantage of this function is that it can find even disabled and hidden controls/windows. If no control exists in specified point, function returns nil (NULL).