COleServerDoc::IsEmbedded

Call the IsEmbedded member function to determine whether the document represents an object embedded in a container.

BOOL IsEmbedded( ) const;

Return Value

Nonzero if the COleServerDoc object is a document that represents an object embedded in a container; otherwise 0.

Remarks

A document loaded from a file is not embedded although it may be manipulated by a container application as a link. A document that is embedded in a container document is considered to be embedded.

Requirements

Header: afxole.h

See Also

Reference

COleServerDoc Class

Hierarchy Chart

Other Resources

COleServerDoc Members