U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Widgets - General questions or Mixed problems » how to open a URL in default browser?
Re: how to open a URL in default browser? [message #22798 is a reply to message #22797] Mon, 17 August 2009 13:45 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
As dolik.rce correctly explained, you can just put link into QTF.

But maybe we owe you more detailed explanation. There is

	Callback1<const String&> WhenLink;


in RichTextView (RichTextCtrl base). If you click on link in RichText, this one gets invoked.

Its default value points to

void    LaunchWebBrowser(const String& url)


which attempts to open default system browser with given url (see implementation for nasty details Smile

Mirek
 
Read Message icon11.gif
Read Message
Read Message
Read Message icon14.gif
Previous Topic: Couldn't enable LLOG in X11Wnd.cpp
Next Topic: return value suggestion to TimeStop
Goto Forum:
  


Current Time: Sun Oct 18 02:19:32 GMT+2 2026

Total time taken to generate the page: 0.01428 seconds