COleControl::InternalSetReadyState

void InternalSetReadyState( long lNewReadyState );

Parameters

lNewReadyState

The readiness state to set for the control, one of the following values:

READYSTATE_UNINITIALIZED

Default initialization state

READYSTATE_LOADING

Control is currently loading its properties

READYSTATE_LOADED

Control has been initialized

READYSTATE_INTERACTIVE

Control has enough data to be interactive but not all asynchronous data is yet loaded

READYSTATE_COMPLETE

Control has all its data

Remarks

Call this function to set the readiness state of the control.

Most simple controls never need to differentiate between LOADED and INTERACTIVE. However, controls that support data path properties may not be ready to be interactive until at least some data is received asynchronously. A control should attempt to become interactive as soon as possible.

COleControl OverviewClass MembersHierarchy Chart

See Also   COleControl::FireReadyStateChange, COleControl::GetReadyState