共用方式為


CPane::CalcSize

Calculates the size of the pane.

virtual CSize CalcSize(
   BOOL bVertDock
);

Parameters

  • [in] bVertDock
    TRUE if the pane is being docked vertically, FALSE otherwise.

Return Value

The default implementation of this method returns a size of (0, 0).

Remarks

Derived classes should override this method.

Requirements

Header: afxpane.h

See Also

Reference

CPane Class

Hierarchy Chart