共用方式為


CFrameWndEx::OnNcCalcSize

Called by the framework when the size and position of the client area must be calculated.

afx_msg void OnNcCalcSize(
   BOOL bCalcValidRects,
   NCCALCSIZE_PARAMS FAR* lpncsp
);

Parameters

  • [in] bCalcValidRects
    TRUE when the application must specify a valid client area; otherwise, FALSE.

  • [in] lpncsp
    Pointer to a NCCALCSIZE_PARAMS structure that contains frame dimension changes.

Requirements

Header: afxframewndex.h

See Also

Reference

CFrameWndEx Class

Hierarchy Chart