Skip to content

HitTest Method

Description

This function is used to fill a CalendarHitTestInfo object with information from the view using the current mouse cursor position.

Syntax

Public Function HitTest() As [CalendarHitTestInfo](XtremeCalendarControl~CalendarHitTestInfo.md)

Return Type

Returns a CalendarHitTestInfo object with information from the current view at the XY point of the mouse cursor 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.