BCGControlBar Pro for MFC
virtual CBCGPBaseControlBar* CBCGPMiniFrameWnd::ControlBarFromPoint ( CPoint  point,
int  nSencitivity,
BOOL  bCheckVisibility 

Returns a control bar contained in the mini-frame if the given point is inside this control bar.

A pointer to a control bar or NULL.

This function is used to obtain a pointer to a control bar containing the given point (in screen coordinates).

pointThe point in screen coordinates.
nSencitivityThe window rectangle of a control bar is inflated according to this value and a control bar may satisfy the search criteria even if the given point is not contained in a control bar
bCheckVisibilityIf TRUE, the function returns only visible control bars.