共用方式為


CAutoHideDockSite::GetAlignRect

Retrieves the size of the dock site in screen coordinates.

void GetAlignRect(
   CRect& rect
) const;

Parameters

Parameter

Description

[in] rect

A reference to a rectangle. The method stores the size of the dock site in this rectangle.

Remarks

The rectangle is adjusted for the offset margins so that they are not included.

Requirements

Header: afxautohidedocksite.h

See Also

Reference

CAutoHideDockSite Class

Hierarchy Chart