how to get icon from url............

  • Thread starter Thread starter Supra
  • Start date Start date
S

Supra

how do i get icon from url into combobox? i already got webbrowser
working it is lsimilar if u typed www.firefox.com, u will c icon stored
in combobox. ne ideas how to do this?
regards,
supra
 
Hi Supra,

If I understand you correctly you need to specify an icon in your web page to get the icon in the address box.

<LINK REL="SHORTCUT ICON" HREF="http://www.mydomain.com/myicon.ico">

If you want to retrieve this icon to put into a combobox of your own, you need to retrieve the file using the link specified in the source, then use an ownerdraw mode to draw the icon and the text.

FireFox uses this line to specify its icon

<link rel="icon" href="http://www.mozilla.org/images/mozilla-16.png" type="image/png">
 
u absolutely. I have one question ...what about www.playboy.com.....how
will u know which icon?

<link rel="stylesheet" href="/tools/css/universal.css" type="text/css" />
<link rel="stylesheet" href="tools/css/homepage.css" type="text/css" />

regards,
 
Hi Morten,
i understand...but i know how to do this.
thank, Morten.
regards,
supra
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top