HitTestEx Method
Description
This function is used to fill a CalendarHitTestInfo object with information from the view at a specified point.
Syntax
Public Function HitTestEx( _
ByVal [x](#) As Long, _
ByVal [y](#) As Long _
) As [CalendarHitTestInfo](XtremeCalendarControl~CalendarHitTestInfo.md)
Parameters
- x: X coordinate of a point in the current view.
- y: Y coordinate of a point in the current view.
Return Type
Returns a CalendarHitTestInfo object with information from the current view at the specified XY point in the view. It is useful to use the HitTest function in events such as MouseDown and MouseUp to test where and what the user clicked on.
Remarks
The CalendarHitTestInfo object holds information such as the specific area at a given point, a pointer to the event (if applicable) at a given point, and a pointer to the day (if applicable) at a given point.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.