Share via


COleControl::FireReadyStateChange

Fires an event with the current value of the ready state of control.

void FireReadyStateChange( );

Remarks

The ready state can be 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

Use GetReadyState to determine the control's current readiness.

InternalSetReadyState changes the ready state to the value supplied, then calls FireReadyStateChange.

Requirements

Header: afxctl.h

See Also

Reference

COleControl Class

Hierarchy Chart

COleControl::GetReadyState

COleControl::InternalSetReadyState