Solved

Hotlink control for dialog?

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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 article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

820 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