Which API or function calls IE when clicking on their context menuItem Save Image As..?

C

chandan

Hi,
I am in search of a control that can save image form my webpage. On
that web page I am using my own context menu and I disabled the
default context menu of IE. Now I want the same functionality as given
by IE context menu item save Image as!

So tell me how IE works in that case??

Which API or function calls IE when clicking on their context menu
Item Save Image As..?

Thanks,
Chandan Kumar
 
P

PJ on Development

Hi, Kumar

As far as I know the IE funcion of saving the image cannow be called
from scripts (which is what you're attempting I suppose).

The IE context menu is something of a core in IE, that means it's part
of it's programming and not exposed as an scriptable component. Under
the hood IE when you click on the "Save Picture As..." on the context
menu, IE simply copies the content of the cache to the designated
file.

And you cannot access the chache from script.

You can emulate this, by using an IFRAME and setting the response
content-type to force IE to download an image, instead of displaying.

Regards,

Paulo Santos
http://pjondevelopment.50webs.com
 

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

Members online

Forum statistics

Threads
473,733
Messages
2,569,439
Members
44,829
Latest member
PIXThurman

Latest Threads

Top