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 » Creating a hyperlink label
Creating a hyperlink label [message #41218] Fri, 15 November 2013 08:52 Go to previous message
crydev is currently offline  crydev
Messages: 151
Registered: October 2012
Location: Netherlands
Experienced Member
Hello,

I'm trying to create a hyperlink label. I have a label that displays an URL using QTF, but I cannot catch the mouse click event to it. This is the code I have now, I have tried multiple mouse events, but I cannot find it out. How can I catch the left mouse click on the label?

class HyperlinkLabel : public Label
{
private:
	virtual void LeftUp(Point p, dword keyflags)
	{
		this->WhenLeftUp();
		Label::LeftUp(p, keyflags);
	}

public:
	Callback WhenLeftUp;
};


Thanks in advance!
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Using a Button to load a window/form using Run. THISBACK syntax
Next Topic: Win32: custom WM_XXXXX message processing
Goto Forum:
  


Current Time: Mon Apr 29 01:35:29 CEST 2024

Total time taken to generate the page: 0.04492 seconds