Description

The viewer client window is being resized.

Syntax

Private Sub object_Resize(lSizeX, lSizeY, lFlags, bHandled)

The Resize Event syntax has these parts:

PartDescription
objectA McDisplay object.
lSizeXA Long value.

long : horizontal size of the control, in screen coordinates lSizeX - long : vertical size of the control, in screen coordinates

lSizeYA Long value.
lFlagsA Long value.

long : the standard system flags from the Window's OnSize event.

bHandledA Boolean value.

VARIANT_BOOL * : Setting this parameter to true aborts the propagation of this event to other clients. The implication is that the client code that set this parameter has handled the event and no other clients should.

Remarks

The viewer will repaint the image if the lFlags parmeter is either SIZE_RESTORED or SIZE_MAXIMIZED. If the AutoZoomMode property is also not equal to “mazmnone”, then the viewer will also resize the image displayed.