BCGControlBar Pro for MFC
virtual CBCGPHotSpot* CBCGPHotSpotImageCtrl::HitTest ( CPoint  pt)

Returns a pointer to hot spot containing the specified point.

A valid pointer to CBCGPHotSpot object or NULL.

Use this function in a derived class to obtain a pointer to a hot spot object containing the specified by pt point (in client coordinates). The returned value is NULL if there is no hot spot containing this point.

ptA point to test (in client coordinates).