Click here to Skip to main content
15,897,226 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have to create a JPG image in the parent window. Image is not on local machine (i.e. I should get it from a specified URL in Internet ). Then I must put a hyperlink on it.
Is there any way to do that?
Posted

Don't post fake answers, edit your post.

You can't magically make a picture into a hyperlink without writing code. You CAN do it without subclassing anything, by just catching the click event on the control that draws the picture. But, you can't do it without writing some sort of code, there's no way to create a behaviour that doesn't exist without coding it.
 
Share this answer
 
Yes, you could download the image from the specified URL (you could use sockets) and then put the acquired image on a static control (which you could have subclassed to have it hyperlink enabled).

Try that yourself, and ask a specific question here if you get stuck. Or search for articles on customised static controls. There are plenty of those on CP.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900