IOleDocumentView::ApplyViewStateIOleDocumentView::ApplyViewState*
*Contents  *Index  *Topic Contents
*Previous Topic: IOleDocumentView
*Next Topic: IOleDocumentView::Clone

IOleDocumentView::ApplyViewState

HRESULT ApplyViewState(
    IStream *pstm
   );

Initializes a view to a previously saved view state.

pstm
[in] Address of a stream containing data from which the view should initialize itself.

Typically, this method is called after an existing view has been created in the container but before that view has been displayed. It is the responsibility of the view to validate the data in the view stream; the container does not attempt to interpret the view's state data.

See also IOleDocument::CreateView, IOleDocumentView::SaveViewState


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.