CMvcVisualComponent::SetSize

Sets the width and height of the component

Defined in: MvcVisualComponent.h

Syntax

SetSize(int cx, int cy)

SetSize(const CSize& sz)

Return Value

CSize The previous size of the component

Parameters

cx

cy

Comments

Sets the size of the component's bounding rectangle in units defined by the parent. The origin is unchanged.

See Also

MvcVisualComponent::GetSize