-
Mar 17th, 2017, 11:23 AM
#1
Thread Starter
Addicted Member
RichTextBox Hyperlink Underline
Hey All,
I downloaded moeur's code (AutoURLdetect.zip) from this page - http://www.vbforums.com/showthread.p...70#post2186470
The code runs great. I have a couple of questions about it.
1. Is there a way to remove the underline from the hyperlink?
2. Do I need to distribute RICHTX32.OCX with my program or is it already installed on Windows XP, 7 and 10?
Thanks in advance,
Ron
-
Mar 17th, 2017, 01:43 PM
#2
Re: RichTextBox Hyperlink Underline
As for the second question, see Support Statement for Visual Basic 6.0 on Windows Vista, Windows Server 2008, Windows 7, Windows 8 and Windows 8.1, Windows Server 2012, and Windows 10. It contains pretty accurate lists of what must be deployed.
Short answer: yes you must deploy this OCX, it is not part of Windows.
-
Mar 17th, 2017, 01:55 PM
#3
Re: RichTextBox Hyperlink Underline
1) From https://blogs.msdn.microsoft.com/mur...me-hyperlinks/
Sending EM_SETEDITSTYLEEX with wparam = 0 and lparam = SES_EX_HANDLEFRIENDLYURL
It also mentioned that LineServices may need to be off to address a bug in Win8, that always underline links regardles.
2) The OCX is VB specific and needs to be distributed.
-
Mar 17th, 2017, 04:30 PM
#4
Thread Starter
Addicted Member
Re: RichTextBox Hyperlink Underline
I could'nt get anything to work... oh well it's not a big deal... I just didn't care for the look.
Thanks for the information guys.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|