Running into a problem that I can't seem to figure out.
I want to add a hyperlink that will open a browser from a miniwindow. I can do it easily to the output window with the Hyperlink function.
Ideas from a miniwindow?
Bast
Use WindowText() to draw the text, WindowTextWidth() to get the width of the text, WindowFontInfo() to get the height of the font, and WindowAddHotspot() to add a clickable hotspot over the text. The documentation for each is good, and it shouldn't be hard to do at all. :)
I'm not sure how to make the hotspot open a browser though, honestly. Not something I've really ever looked into.
I had hyperlinks in this plugin, however it just did stuff on the MUD, not open a browser:
A combination of drawing the underlined text as in that plugin, and OpenBrowser, should do it for you.
Wow, I did not see OpenBrowser.
Thanks,
Bast