Called by the framework after the frame's size changes.
afx_msg void OnSize(
   UINT nType,
   int cx,
   int cy
);
Parameters
- [in] nType 
 The type of resizing. For possible values see the parameter wParam in WM_SIZE Notification.
- [in] cx 
 New width of the frame in pixels.
- [in] cy 
 New height of the frame in pixels.
Requirements
Header: afxframewndex.h