How Do I Resize a Control?

To resize a control, just resize the host window using the standard MoveWindow or SetWindowPos APIs (or their CWindow-wrappers). The host object resizes the control automatically to fill the host window in response to the window messages that it receives.

See Also

Concepts

ATL Control Containment FAQ