BCGControlBar Pro for MFC
virtual BCGP_APPOINTMENT_HITTEST CBCGPAppointment::HitTest ( const CPoint &  point) const
virtual

Determines which appointment item is at a specified position.

Returns
One of the following BCGP_APPOINTMENT_HITTEST enumerated values
  • BCGP_APPOINTMENT_HITTEST_NOWHERE: outside appointment
  • BCGP_APPOINTMENT_HITTEST_INSIDE: appointment area
  • BCGP_APPOINTMENT_HITTEST_MOVE: appointment move area
  • BCGP_APPOINTMENT_HITTEST_TOP: appointment top area (top side)
  • BCGP_APPOINTMENT_HITTEST_BOTTOM: appointment bottom area (bottom side)
  • BCGP_APPOINTMENT_HITTEST_LEFT: appointment left area (left side)
  • BCGP_APPOINTMENT_HITTEST_RIGHT: appointment right area (right side)

Call this function to determine which of appointment items, if any, is at the specified position.

Parameters
pointContains the mouse position (in client coordinates).