Microsoft SDK for Java

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.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.