CWnd::OnSize

This method is called by the framework of the CWnd class after the window’s size has changed.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

afx_msg void OnSize ( UINT nType, int cx, int cy );

Remarks

Because users cannot resize windows, the only value Windows CE supports in the nType parameter is SIZE_RESTORED.

See Also

CWnd::MoveWindow, CWnd::SetScrollPos