ChangePart
TheChangePartmethod assigns a new part to this frame.
void ChangePart (in ODPart part);
part- A reference to a part to associate with this frame.
DISCUSSION
Your part calls this method when it wants to keep one embedded frame and swap parts in and out of it, as is typical for browser-type parts. This method in turn calls theFacetRemovedmethod associated with this frame's part to remove all facets of this frame from its previous part. This method can also call theFacetAddedmethod associated with this frame's new part to add all facets associated with the previous part.Unless this frame was removed or closed, you can always assume that this frame previously had a part.
EXCEPTIONS
kODErrIllegalNullPartInput- The
partparameter is null.SEE ALSO
TheODPart::FacetAddedmethod (page 514).
TheODPart::FacetRemovedmethod (page 515).
"Sharing Palettes and Utility Windows" on page 238 in OpenDoc Programmer's Guide.