AxHost.setOcxState

Overview | Methods | This Package | All Packages

AxHost.setOcxState

Sets the persisted state of the control.

Syntax

public void setOcxState( State ocxState )

Parameters

ocxState

A State object that specifies the control's state.

Remarks

The value to which you initialize this method's ocxState parameter should be null, obtained by calling getOcxState, or read from a resource. The value of this parameter is used after the control is created, but before it is displayed.

Exceptions

WFCException thrown if the control has already been activated.