LinkStatusChanged
TheLinkStatusChangedmethod is called to notify this part that the link status of one of its display frames has changed.
void LinkStatusChanged (in ODFrame frame);
frame- A reference to a display frame whose link status has changed.
DISCUSSION
OpenDoc calls this method. Your part'sLinkStatusChangedmethod should call theChangeLinkStatusmethod of each embedded frame affected by the display frame change, assigning it the same link status as the display frame.If the frame passed into the
LinkStatusChangedmethod has been opened into a part window, the displayed part should call theChangeLinkStatusmethod of the root frame of the part window. This action ensures that all frames in the part window will have their link status set correctly. Note that if a part calls theChangeLinkStatusmethod of one of its display frames, OpenDoc calls the part's ownLinkStatusChangedmethod (in this case, recursively).If the value
kODNotInLinkwas assigned in theChangeLinkStatusmethod, then your part'sLinkStatusChangedmethod can still get the status of this part's display frame (its containing frame).OVERRIDING
When you subclassODPart, you must override this method. Your override method must not call its inherited method; that is, your override method must implement this method's functionality completely.SEE ALSO
TheODFrame::ChangeLinkStatusmethod (page 308).
Table 2-1 on page 89 in OpenDoc Programmer's Guide.
"The LinkStatusChanged Method of Your Part Editor" on page 375 in OpenDoc Programmer's Guide.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help