1. Hyperlink in a message box
- Posted by penpal0andrew Apr 17, 2009
- 833 views
Has anyone ever coded a message box to come up with a hyperlink in it, that the user can use to go to something on the Internet? For example, in my program for a particular functionality, I need the user to install another application. So, after checking the registry, and finding it is not there, I put up a message box with the URL to find that application. But the URL is not clickable.
I am using Enhanced IDE version 1.0.4 and win32lib Version: 0.70.4a
Thanks.
2. Re: Hyperlink in a message box
- Posted by euphoric (admin) Apr 17, 2009
- 902 views
...I put up a message box with the URL to find that application. But the URL is not clickable.
You'll have to put up your own custom message box, which is just a window... Put a clickable label on it.
3. Re: Hyperlink in a message box
- Posted by ghaberek (admin) Apr 21, 2009
- 887 views
Do you need to display the hyperlink? Couldn't you just ask them if they want to go download the software, and if they click Yes, launch the website? Example:
atom result result = message_box( "You do not have Program X installed.\n" & "Would you like to download it now?", "Missing Program", MB_ICONQUESTION + MB_YESNO ) if result = IDYES then shellExecute( "open", "http://www.google.com/", SW_SHOWNORMAL ) end if
-Greg