Drag image?

-JM jm at apostle.se
Tue Nov 6 08:11:19 PST 2007


I'd like to have an image of what's being dragged attached to the  
cursor while dragging "stuff" between Finder/Explorer and my wx-based  
application. Is there a wx-supported way of displaying a drag image  
during a drag within/to/from other apps (e.g., Finder/Explorer) so  
that it interacts properly (and automatically) with the OS' drag  
manager? I've found wxDragImage, which sounds promising, but doesn't  
do what I want (and seem to require a lot of hand-holding with Hide/ 
Move/Show, etc).

It appears that both Windows and MacOS has native support for this  
feature, and I figured a comprehensive framework such as wx ought to  
have some built-in support for this common feature. Hopefully I'm  
just missing something obvious?

-JM





More information about the wx-users mailing list