COleDocument::EnableCompoundFile

void EnableCompoundFile( BOOL bEnable = TRUE );

Parameters

bEnable

Specifies whether compound file support is enabled or disabled.

Remarks

Call this function if you want to store the document using the compound-file format. This is also called structured storage. You typically call this function from the constructor of your COleDocument-derived class. For more information about compound documents, see the article Containers: Compound Files in Visual C++ Programmer’s Guide.

If you do not call this member function, documents will be stored in a nonstructured (“flat”) file format.

After compound file support is enabled or disabled for a document, the setting should not be changed during the document’s lifetime.

COleDocument OverviewClass MembersHierarchy Chart

See Also   COleClientItem