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

Returns a pointer to hot spot containing the specified point.

Returns
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.

Parameters
ptA point to test (in client coordinates).