Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 13975
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 Apr 28 00:49:03 CEST 2024

Total time taken to generate the page: 0.03477 seconds