Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Sat, 26 Nov 2005 06:55:02 -0800,    group: microsoft.public.inetsdk.programming.html_objmodel        back       


abort download in MSHTML   
I have an application that hosts a MSHTML like MS sample WALKALL. How can we 
abort the downloading correctly, not just simply break from the message loop? 
Thanx.
date: Sat, 26 Nov 2005 06:55:02 -0800   author:   silver8

Re: abort download in MSHTML   
"silver8"  wrote in message
news:CA9D2ACD-1650-4E9D-A82F-9017057C1E6F@microsoft.com
> I have an application that hosts a MSHTML like MS sample WALKALL. How
> can we abort the downloading correctly, not just simply break from
> the message loop? Thanx.

I'd try querying for IOleCommandTarget and calling Exec(OLECMDID_STOP). 
Disclaimer: I haven't tried it myself.
-- 
With best wishes,
    Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not 
necessarily a good idea. It is hard to be sure where they are going to 
land, and it could be dangerous sitting under them as they fly 
overhead. -- RFC 1925
date: Sat, 26 Nov 2005 10:22:17 -0500   author:   Igor Tandetnik

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us