Drag from UserControl to ActiveX in same form

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
 
M

MarkR

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
 

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

Top