Dropping Something On Webbrowser Control



Hi,
I have a User Control which contains AxSHDocVw.AxWebBrowser control
docked inside.
I host this UC inside a Windows form.
My goal is to be able to drag a link (LinkLabel Control) which is
inside the window form onto the User Control.

After searching a little I found out that using GetDropTarget
(IDocHostUIHandler) and passing my own implementation of IDropTargt
interface class, gets to my function's implementation
(DragEnter, DragOver...) only if i start dragging something from inside
the HTML hosted by the AxWebBrowser.

Can anyone give me any direction on how to implement this operation?

Getting any of the following events will be good:
- mouse move from User Control \ AxWebBrowser while dragging something
on it.
- drag enter from User Control \ AxWebBrowser
- DragOver from User Control \ AxWebBrowser
or anything which can let me know about dragging from out side of the
browser into it.

Thx!

Iddo

.



Relevant Pages

  • AxWebBrowser: TargetInvocationException during Dispose()
    ... I have a UserControl that has an embedded AxWebBrowser, and the user control ... is placed on a tab page of a tab control. ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Dropping Something On Webbrowser Control
    ... I have a User Control which contains AxSHDocVw.AxWebBrowser control ... I host this UC inside a Windows form. ... My goal is to be able to drag a link which is ... the HTML hosted by the AxWebBrowser. ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: problems when using user control and class library
    ... build the user control dll and one that build the class library dll. ... This means that when we drag the ... user control from the toolbox we use the class library to instansiate ...
    (microsoft.public.dotnet.languages.csharp)
  • problems when using user control and class library
    ... I drag the user control icon named B from the Toolbox into a form and when I ... user control from the toolbox we use the class library to instansiate class ... Is it a bug or .NET might not fully support what I do. ...
    (microsoft.public.dotnet.languages.csharp)
  • roblems when using user control and class library
    ... I drag the user control icon named B from the Toolbox into a form and when I ... user control from the toolbox we use the class library to instansiate class ... Is it a bug or .NET might not fully support what I do. ...
    (microsoft.public.dotnet.general)