G
Guest
I want to make an About Form for my application.
Typical About Form has blue colored URL and email in the bottom of the form.
When user clicks on this URL or email default browser (IE) or default mail program opens with given URL in Address box or given email in TO: box.
How can I do it?
First, how to make click event works?
If I use a Label, it doesn't recognize click event.
If I use a Button, it doesn't look like simple text on form surface.
Second, how can I activate these events?
For IE I can call something like:
CreateProcess(TEXT("iexplore.exe"), TEXT("URL"), NULL, NULL, FALSE, 0, NULL, NULL, NULL, NULL);
What program should I call for default email client?
Typical About Form has blue colored URL and email in the bottom of the form.
When user clicks on this URL or email default browser (IE) or default mail program opens with given URL in Address box or given email in TO: box.
How can I do it?
First, how to make click event works?
If I use a Label, it doesn't recognize click event.
If I use a Button, it doesn't look like simple text on form surface.
Second, how can I activate these events?
For IE I can call something like:
CreateProcess(TEXT("iexplore.exe"), TEXT("URL"), NULL, NULL, FALSE, 0, NULL, NULL, NULL, NULL);
What program should I call for default email client?