ChangeLinkStatus
TheChangeLinkStatusmethod changes the link status of this frame.
void ChangeLinkStatus (in ODLinkStatus status);
status- The link status to assign to this frame. The value of
statusmust be one of the following:kODInLinkDestination,kODInLinkSource, orkODNotInLink.DISCUSSION
The valuekODInLinkDestinationfor thestatusparameter indicates that the frame is embedded in the destination of a link; the content of this frame is thus supplied by a link. The valuekODInLinkSourceindicates that the frame is embedded in content that is the source of one or more links, but not in content that is the destination of a link. The valuekODNotInLinkindicates that the frame is not embedded in any linked content, source or destination.If your part supports linking or embedding, your part calls this method for each embedded frame that is involved in a link when a link is created, broken, or moved. If your part supports linking only, your part calls this method for each frame not in a link. This method in turn calls the
LinkStatusChangedmethod associated with this frame's part to notify the part that its link status has changed. In turn, the embedded part'sLinkStatusChangedmethod gives that embedded part a chance to call theChangeLinkStatusmethod for other embedded frames.EXCEPTIONS
kODErrInvalidLinkStatus- The specified link status is invalid.
SEE ALSO
TheODLinkStatustype (page 882).
TheODFrame::GetLinkStatusmethod (page 321).
TheODPart::LinkStatusChangedmethod (page 532).
"When to Change Link Status" on page 374 in OpenDoc Programmer's Guide.
"Creating a Link at the Destination" on page 380 in OpenDoc Programmer's Guide.