mfc >> OLE Drag & Drop with non CView class

by Aurora I » Wed, 03 Dec 2003 10:34:20 GMT

Hello everyone,

Drag & Drop works for CView class, but I am trying to implement OLE
Drag&Drop between two different CWnd derived classes.
I tried the get the class where the drop target should happen by double
inheritance from CWnd and COleDropTarget in order to receive all dropping
messages.
In this case I got ambiguous conversions for the message map of a button
(CButton) which is children for the drop target window . If I get rid of
this message from message map it compiles without errors.

I need to get this problem around somehow. Any suggestions would be greatly
appreciated.

Regards,
Aurora I.





Similar Threads

1. drag and drop ole object

2. retrofitting and MFC app for OLE drag n drop

3. ole drag and drop problem in a ListView

I've implemented ole drag and drop in my application's listview. My 
understanding is that I should get scrolling for free but I don't get any 
scrolling action. Am I missing something here? I'm new to OLE so any pointers 
would be greatly appreciated.

Regards,

Omundu.

4. ole drag and drop - Borland C++ Builder VCL Components

5. OLE drag and drop handling multiple controls

Hi.

I'm using turbo 2006 builder on XP Pro.

I'd like two forms to be able to handle drag and drops, especially
from explorer.
I am not sure if the best approach is to use a single drop target
(ole) and just register two
form handles, or if I need two drop targets.

I was thinking that if I could determine the source form/handle that I
could tell where in which form the drag was targeted to, and I could
put all the code in one form.

Am I thinking bad things here? Should I just use a separate drop
target in each form?


thanks
Jeff

6. How to create a OLE CView class for display Word.Doc file

7. drag-drop showing tooltip at cursor while dragging

Hi

While dragging an object onto another, i want to show a tooltip or text
balloon that informs the user where it can be dropped.

What about showing a 50% opague thumbnail image ?

I need some hints to get started. (any samplecode ?)

Johan


8. drag and drop AND drag - CSharp/C#