| CBCGPBaseControlBar* CBCGPMDIFrameWnd::ControlBarFromPoint | ( | CPoint | point, |
| int | nSensitivity, | ||
| bool | bExactBar, | ||
| 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 |
| bExactBar | If TRUE, the nSencitivity parameter is ignored. |
| pRTCBarType | If not NULL the function iterates only control bars of the type specified. |