Results 1 to 4 of 4

Thread: RichTextBox Hyperlink Underline

Hybrid View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Posts
    154

    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

  2. #2
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,482

    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.

  3. #3
    PowerPoster
    Join Date
    Jun 2015
    Posts
    2,224

    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.

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Posts
    154

    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
  •  



Click Here to Expand Forum to Full Width