Udostępnij za pośrednictwem


CPane::IsLeftOf

Determines whether the pane is left of (or above) the specified rectangle.

bool IsLeftOf(
   CRect rect,
   bool bWindowRect = true
) const;

Parameters

  • [in] rect
    A CRect object that is used for comparison.

  • [in] bWindowRect
    If TRUE, rect is assumed to contain screen coordinates; if FALSE, rect is assumed to contain client coordinates.

Remarks

If the pane is docked horizontally, this method checks whether its location is left of rect. Otherwise, this method checks whether the location is above rect.

Requirements

Header: afxpane.h

See Also

Reference

CPane Class

Hierarchy Chart