Solved

Hotlink control for dialog?

Posted on 2001-09-07
3
523 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Slow process to read Excel 15 112
Best way to accomplish this task? 3 86
Build VS2015 project in bat command 3 80
Why is "packages element is not declared"? 2 135
This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
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…

895 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

14 Experts available now in Live!

Get 1:1 Help Now