Solved

Hotlink control for dialog?

Posted on 2001-09-07
3
530 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

This article shows a few slightly more advanced techniques for Windows 7 gadget programming, including how to save and restore user settings for your gadget and how to populate the "details" panel that is displayed in the Windows 7 gadget gallery.  …
If you have ever found yourself doing a repetitive action with the mouse and keyboard, and if you have even a little programming experience, there is a good chance that you can use a text editor to whip together a sort of macro to automate the proce…
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…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

636 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