Delen via


CFrameWndEx::IsPointNearDockSite

Determines whether the point is located in an alignment zone.

BOOL IsPointNearDockSite(
   CPoint point,
   DWORD& dwBarAlignment,
   BOOL& bOuterEdge
) const;

Parameters

  • [in] point
    The position of the point.

  • [out] dwBarAlignment
    Where the point is aligned. See the table in the Remarks section for possible values.

  • [out] bOuterEdge
    TRUE if the point is located close to the frame border; FALSE if the point is located in a client area.

Return Value

TRUE if the point is located in an alignment zone; otherwise, FALSE.

Remarks

The following table lists the possible values for the dwBarAlignment parameter.

  • CBRS_ALIGN_TOP
    Aligned to the top.

  • CBRS_ALIGN_RIGHT
    Aligned to the right.

  • CBRS_ALIGN_BOTTOM
    Aligned to the bottom.

  • CBRS_ALIGN_LEFT
    Aligned to the left.

Requirements

Header: afxframewndex.h

See Also

Reference

CFrameWndEx Class

Hierarchy Chart