Solved

Hotlink control for dialog?

Posted on 2001-09-07
3
521 Views
Last Modified: 2013-12-03
I am looking for some code to implement a Win32 Window class to provide a hot-link text control.  Similar to the new SysLink control in the XP common controls.  I am not using MFC or any add-ons... I would like just a standard Window procedure function that I can use in creating a WINDOWCLASS.

Just a plane old text control, but must be standard blue hot link color, provide pointer finger on mouse over and when clicked, bring up the appropriate application to handle the associated link (FTP, HTTP, MAILTO:, etc.).

Any info or advice would be greatly appreciated.

Thanks,
Jeff
0
Comment
Question by:jeffs1
  • 2
3 Comments
 
LVL 15

Accepted Solution

by:
NickRepin earned 200 total points
ID: 6466440
0
 

Author Comment

by:jeffs1
ID: 6467080
Nick,

This was exactly what I was looking for!  A simple, straigh forward implementation... all I found elsewhere was long, bloated MFC junk.

One question though... is there any reason you subclass the RichEdit32 control instead if just the plain old static control?

Thanks,
Jeff
0
 
LVL 15

Expert Comment

by:NickRepin
ID: 6467811
A plain static control does not support different text colors. You can use it, but it will contain a hyplink only and nothing else.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now