How to create good looking About form?

  • Thread starter Thread starter Guest
  • Start date Start date
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?
 
For the label you can use LinkLabel from OpenNETCF.org:

http://www.opennetcf.org/PermaLink.aspx?guid=3a013afd-791e-45ef-802a-4c1dbe1
cfef9

In order to open mail you can try to start tmail.exe with the parameter
mailto:[email protected] for which you can aslo use
OpenNETCF.Diagnostics.Start..

--
Alex Yakhnin, .NEY CF MVP
http://www.intelliprog.com | www.opennetcf.org

sly2m said:
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.
 
Thank you for reply
But can you tall me how to implement Click event to Label
In CF QuickStart there is a topic of how to implement Double click event using Click and timer
But how to implement click event to control?
 
Back
Top