how to change this html code to c++ code

hi
how to change this code:
<a href="http://www.dgg.com"><img src="http://www.kfge.com.gif" border="0" width="468" height="60"/></a>
to c++ code please help me.
thank you.
C++ and html are two very different languages... Do you mean C++ for the web maybe???
You might want to look into a graphical framework such as qt.
http://qt-project.org/
Last edited on
It would be helpful if you provided a bit more detail here OP. Such as what libraries you are using so far. kevinkjt2000 has a good suggestion so far with QT, but if all you want is an image with an embedded hyperlink then that's kind of overkill in my opinion. With the straight WinAPI, I would keep it simple and straight forward; use a user-defined control with the button style set to 'BS_OWNERDRAW'. However I want to emphasis that if you are using another library to display the image that this suggestion is probably NOT the correct solution.

In the case that you don't know what I'm talking about yet, start here: http://msdn.microsoft.com/en-us/library/windows/desktop/aa380599(v=vs.85).aspx
A lot of people insist that you should use a wizard to draw up your resource files and they aren't wrong. But we would have to know what IDE you are using before we tell you how to do this and that is another important little detail that you appear to have omitted.
Topic archived. No new replies allowed.