CMvcAtlWndViewport::SetSize

Set the width and height of the viewport.

Defined in: MvcAtl.h

Syntax

virtual CSize SetSize(int cx, int cy)

CSize SetSize(const CSize& sz)

Return Value

Previous size

Parameters

cx

Width to set viewport

cy

Height to set viewport

Comments

This method is overridden to adjust the size of the window.