Re: AxShDocVw and DragOver
- From: v-jetan@xxxxxxxxxxxxxxxxxxxx ("Jeffrey Tan[MSFT]")
- Date: Wed, 01 Jun 2005 06:45:29 GMT
Hi Roy,
Thanks for your feedback.
Yes, I have done some test in VB6.0, it seems that VB6.0 usercontrol can
intercept WebBrowser's messages without any problem. I am not sure why
VB6.0 does not go with Win32 messags processing model. However, I suspect
that because VB6.0 is based on COM, which is easy for interprocess
communication, so maybe WebBrowser internally delegate the drag&drop
messages to the underlying parent usercontrol. However, for .Net
usercontrol, it is not a COM control, so there is no build-in support for
this.
Currently, for this issue, I think we have 2 options:
1. just use the VB6.0 usercontrol to wrap the webbrowser control, then
place all the drag&drop function code in VB6.0 usercontrol side. At last,
in .Net winform, we can add the entire VB6.0 usercontrol in the .Net Form,
and use it.
2. go with the COM interop IDOCHostUIHandler interface to react to the
webbrowser drag&drop events.
I think #1 is much simpler than #2 option. Thanks
===============================================================
Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
.
- Follow-Ups:
- Re: AxShDocVw and DragOver
- From: Roy Soltoff
- Re: AxShDocVw and DragOver
- Next by Date: Missing Events
- Next by thread: Re: AxShDocVw and DragOver
- Index(es):
Relevant Pages
|
Loading