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

Concepts

MFC Hierarchy Chart

Reference

CFrameWndEx Class