Editor Gadget, Hyperlink Color

Just starting out? Need help? Post your questions and find answers here.
horst
Enthusiast
Enthusiast
Posts: 197
Joined: Wed May 28, 2003 6:57 am
Location: Munich
Contact:

Editor Gadget, Hyperlink Color

Post 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?
Horst.
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Hyperlink in Editor?

Post 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
Beach
Enthusiast
Enthusiast
Posts: 677
Joined: Mon Feb 02, 2004 3:16 am
Location: Beyond the sun...

Post 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...
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

Thanks a million, one of these days I'll actually look for debug sections :D quite helpful :)
Post Reply