Partager via


COleClientItem::IsInPlaceActive

Call this function to see whether the OLE item is in-place active.

BOOL IsInPlaceActive( ) const;

Return Value

Nonzero if the OLE item is in-place active; otherwise 0.

Remarks

It is common to execute different logic depending on whether the item is being edited in place. The function checks whether the current item state is equal to either the activeState or the activeUIState.

Requirements

Header: afxole.h

See Also

Reference

COleClientItem Class

Hierarchy Chart

COleClientItem::GetItemState

Other Resources

COleClientItem Members