AxHost.setTopLevel

Overview | Methods | This Package | All Packages

AxHost.setTopLevel

Sets a boolean value that determines whether this control should be a top-level window.

Syntax

public void setTopLevel( boolean value )

Parameters

value

Set to true to make this control a top-level window; otherwise, set to false.

Remarks

Because an ActiveX control can never be a top-level window, the value of the value parameter should always be false.

Exceptions

WFCException thrown if the value parameter is set to true.