|Manuals

IEvents::OnBrowserResize Method

Description

This method triggers when the VirtualUI Viewer’s container window changes size, typically during browser resizing.

Syntax

[id(0x00000066)]
void OnBrowserResize([in, out] long* Width, [in, out] long* Height,
                     [in, out] VARIANT_BOOL* ResizeMaximized);

Parameters

Parameter Type Description
Width long* (in, out) The browser window’s width dimension
Height long* (in, out) The browser window’s height dimension
ResizeMaximized VARIANT_BOOL* (out) Returns whether to prevent the default processing

Remarks

This event handler allows developers to execute custom logic when the VirtualUI Viewer’s container resizes. Setting the ResizeMaximized parameter to true disables standard behavior, which would otherwise resize all maximized windows automatically.

See Also