General information
Category:
Coding, syntax & commands
Environment versions
Network:
Windows 2003 Server
>I have a form with a number of containers each holding more containers. I have setup Drag and Drop within the form only, (not OLE) and it is working great. I have set flags for where an item can be dropped or not and that part works fine.
>
>Now I am trying to set the mouse cursor/pointer to show where something can/cannot be dropped. I now realize that the item being dragged is what sets the icon but I can't figure out how I am supposed to know what container it is over so I can change the pointer. Anyone got any sample code or can point me to some?
You're better off working with OLE drag and drop, even if you're only using it within your application. You get a lot more control over the process. In particular, whenever you drag over something, both the drag source's OLEGiveFeedback and the drop target's OLEDragOver methods fire, giving you a chance to decide what to do.
Tamar
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only