Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8724239
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T07:47:16+00:00 2026-06-13T07:47:16+00:00

I am building a textEdit application with MFC. Is there a way to create

  • 0

I am building a textEdit application with MFC. Is there a way to create a hyperlink automatically when a user write web address? It’s like when you write a web address “www.google.com” the application detects web address and create a hyperlink right away. I have searched documents that explains about this, but couldn’t find it..
and i couldn’t make it..
i already have made notepad but i couldn’t add the function of hyperlink on the notepad.

the following sentences are functions of hyperlink.

  1. Clicking the text needs to open a browser window to the location specified by the text.

  2. The cursor needs to change from the standard arrow cursor to a pointing index finger when it moves over the control.

  3. The text in the control needs to be underlined when the cursor moves over the control.

  4. A hyperlink control needs to display text in a different color—black just won’t do.
    The features that I added are:

5.A hyperlink control once visited needs to change color.

6.The hyperlink control should be accessible from the keyboard.

7.It should install some kind of hooks to allow the programmer to perform some actions when the control has the focus or when the cursor is hovering over the control.

Among the functions, What I mostly want to complete is the first one.
If I click a Hyperlink text, it should be linked to a browser window on the Internet.

Please answer and help me. Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T07:47:17+00:00Added an answer on June 13, 2026 at 7:47 am

    Just use a CRichEditCtrl control (remember to call AfxInitRichEdit2 in your InitInstance). Call SetAutoURLDetect. Done.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am building a textEdit application with MFC. Is there a way to create
Building a new ASP.net application, and planning to separate DB, 'service' tier and Web/UI
Building a stand alone WPF application that uses a MSSQL backend. I would like
Building a web app here and I would like to be able to alternate
Building my baseclasses for user interface controls is getting there. I have command buttons
Building a JSF application with Spring on Tomcat. The target is a web farm,
I'm trying to create a simple text editor like Textedit for Mac OS X,
Building an iPhone application. The delegate loads a SplashScreenView which sits there until the
Building a new Mobile Web Platform for Mobile Users to purchase & download content
Building my first SL MVVM application (Silverlight4 RC) and have some issues i don't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.