CBCGPBaseControlBar* CBCGPMDIFrameWnd::ControlBarFromPoint | ( | CPoint | point, |
int | nSensitivity, | ||
DWORD & | dwAlignment, | ||
CRuntimeClass * | pRTCBarType | ||
) | const |
Given a point in screen coordinates returns a docking control bar that contains this point.
The call is redirected to the docking manager. See CBCGPDockManager::ControlBarFromPoint for details.
point | Specifies the point to check in the screen coordinates. |
nSensitivity | The window rectangle of each checked 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 |
dwAlignment | If a control bar was found, this parameter will contain the closest to the specified point control bar side. |
pRTCBarType | If not NULL the function iterates only control bars of the type specified. |