Re: plugin for IE 6



Grzegorz Smith wrote:

Hi all.
I need to write a plugin for IE 6.0. Plugin should have ability to check
some area on webpage and convert it to graphic format (bmp/png/gif), or
send by webpage. Does anyone do something similarity? I could use some
help about that..

The interface between IE and the desktop has the capacity to do a
"thumbnail" of a web page. If you hijack the method IExtractImage->Extract,
you can switch the thumbnail size to really big (instead of small for the
shell explorer). There's sample code out there that calls that, and puts
the result into a bitmap. Then you just plug that code into a standard IE
toolbar, such as created by the ATL wizard.

However, it's a thumbnail of the entire screen, not a region. You could copy
the regions HTML (and CSS) out, then thumbnail that. However...

....you are amazingly lucky I happened to answer your question here - unless
I'm wrong. I promise you that nobody else on this newsgroup has ever done
anything like this before. You ought to post to one of MS's newsgroup, such
as one that discusses programming IE shell extensions.

Posting to this newsgroup is a bit of a gamble for such a narrow question!

--
Phlip
http://www.greencheese.us/ZeekLand <-- NOT a blog!!!
.



Relevant Pages

  • Re: Loading a webpage into a thumbnail
    ... Set it to a thumbnail using the tumbnail method from gdi ... >> control and showed the page as a whole. ... >> image of the webpage I guess. ... > people having problems doing as you desire. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Armory crashing firefox consistently now
    ... Yes, I can blame the plugin, EVEN if the webpage is *specifically designed* ... The browser and the plugin cannot prevent errors in the input. ... And not a single "Ah, it's the website's fault, blame them" closing comment ...
    (alt.games.warcraft)
  • Re: Save a retreive text in Cocoa
    ... The widget passes the whole string (html ... > code from a webpage) to the plugin but the writeToFile method just fails. ... Did you remember to declare the necessary Info.plist Keys for the Widget ... I guess you need 'Plugin' at least. ...
    (comp.sys.mac.programmer.help)
  • Re: Mail, Send a Link Verbiage
    ... attachments: Shortcut to: Note: To protect against computer viruses, e-mail programs may prevent sending or receiving certain types of file attachments. ... didn't have any such message accompanying webpage links sent 'Mail.Send a Link, only the link appeared in the email. ... If you must post identical messages in more than one newsgroup please ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Too few parameters. Expected 1.
    ... > I added this per Ray, ... > I added this to my webpage ... Knowing what the vbscript code that's supposed to ... Please reply to the newsgroup. ...
    (microsoft.public.inetserver.asp.general)