COleClientItem::GetItemState

Call this function to get the OLE item's current state.

UINT GetItemState( ) const;

Return Value

A COleClientItem::ItemState enumerated value, which can be one of the following: emptyState, loadedState, openState, activeState, activeUIState. For information about these states, see the article Containers: Client-Item States.

Remarks

To be notified when the OLE item's state changes, use the OnChange member function.

For more information, see the article Containers: Client-Item States.

Requirements

Header: afxole.h

See Also

Concepts

COleClientItem Class

COleClientItem Members

Hierarchy Chart

COleClientItem::OnChange