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 |
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!
|
|
|
|
|
Creating a hyperlink label
By: crydev on Fri, 15 November 2013 08:52
|
|
|
Re: Creating a hyperlink label
By: Klugier on Fri, 15 November 2013 15:43
|
|
|
Re: Creating a hyperlink label
By: crydev on Fri, 15 November 2013 17:33
|
|
|
Re: Creating a hyperlink label
By: Klugier on Fri, 15 November 2013 20:20
|
|
|
Re: Creating a hyperlink label
By: crydev on Sun, 17 November 2013 12:05
|
|
|
Re: Creating a hyperlink label
By: Klugier on Sun, 17 November 2013 12:35
|
|
|
Re: Creating a hyperlink label
By: crydev on Sun, 17 November 2013 17:27
|
|
|
Re: Creating a hyperlink label
By: koldo on Fri, 03 October 2014 09:31
|
|
|
Re: Creating a hyperlink label
By: mirek on Mon, 13 October 2014 12:00
|
|
|
Re: Creating a hyperlink label
By: koldo on Tue, 14 October 2014 09:57
|
|
|
Re: Creating a hyperlink label
By: Edward on Sun, 01 March 2015 02:31
|
|
|
Re: Creating a hyperlink label
By: mirek on Sun, 01 March 2015 08:12
|
Goto Forum:
Current Time: Mon Apr 29 01:35:29 CEST 2024
Total time taken to generate the page: 0.04492 seconds
|