Drag from UserControl to ActiveX in same form

  • Thread starter Thread starter MarkR
  • Start date Start date
M

MarkR

I have a form with a user control that supports being a drag source. I put an
ActiveX control on the same form that is a drop target (implements
IDropTarget, etc.)

When I drag from the user control to the ActiveX control, the
IDropTarger::DragOver never gets called in the ActiveX control. However, if I
drag from the user control to the same ActiveX control being hosted in
another application, then the DragOver method is called in the ActiveX
control.

Why is this happening and how can I make it work?

Thanks,
Mark
 
Sorry, this was my mistake.

I thought the methods were not getting called because the Debugger type was
set to Auto and I needed to set it to Native to see my debug output.

So my methods are getting called.

Mark
 
Back
Top