Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Hotlink control for dialog?

Posted on 2001-09-07
3
Medium Priority
?
537 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 800 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying 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

This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
This article describes how to add a user-defined command button to the Windows 7 Explorer toolbar.  In the previous article (http://www.experts-exchange.com/A_2172.html), we saw how to put the Delete button back there where it belongs.  "Delete" is …
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…
Integration Management Part 2

971 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