HitTestEx Method
Description
This function fills 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
Parameters
- x (Long) — X coordinate of a point in the current view.
- y (Long) — Y coordinate of a point in the current view.
Return Type
Returns a CalendarHitTestInfo object with information from the current view at the specified (x, y) point. It is useful to use the HitTestEx 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 that point, and a pointer to the day (if applicable) at that point.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.