Important: The information in this document is obsolete and should not be used for new development.
GetSelectedURL
Retrieves the selected URL.
char* GetSelectedURL (in ODFrame frame);
frame- The frame to check for selected text.
- return value
- A pointer to a string that contains the selected URL.
DISCUSSION
This method should return a string copy of the URL selected in the specified frame. The superclass implementation of this method returnskODNULL. If a Cyberdog display part allows the user to select and open a URL, itsCyberPartExtensionsubclass must override this method.You should call this method after calling the
IsURLSelectedmethod to test whether the selected text is a URL.If you subclass
CyberPartExtensionand override this method, your override must not call its inherited method; that is, your override method must implement this method's functionality completely.SEE ALSO
TheIsURLSelectedmethod (page 290).