Page 1 of 1

Editor Gadget, Hyperlink Color

Posted: Thu Jul 10, 2003 8:53 pm
by horst
I got the hyperlinks work all right in an Editor Gadget,
but I could not find out, how to change the default
color of the hyperlink.

Any hints?

Hyperlink in Editor?

Posted: Tue Sep 07, 2004 11:33 pm
by Shannara
I have found two examples in Code archive with this. One does not really work, while the other one does. However, both examples are only 50% complete. They show'd the link with it's color and such, but forgot to add the ability to launch default browser when link is clicked. Anybody know how to do that?

Reference URL:

http://www.purearea.net/pb/CodeArchiv/G ... -inside.pb

Posted: Wed Sep 08, 2004 5:26 am
by Beach
I use ShellExecute to do this:

Code: Select all

ShellExecute_(hParent,"open","http://www.google.com","","",#SW_SHOWNORMAL)
Just replace line 57 of your example with the above...

Posted: Thu Sep 09, 2004 1:19 am
by Shannara
Thanks a million, one of these days I'll actually look for debug sections :D quite helpful :)