Drag image?

Manfred Hanke annonce at free.fr
Tue Nov 6 10:15:01 PST 2007


Hi all,

I have the same problem for drag/drop
I use my own implementation for window, I try later to use the OSX way...

in MSW you need to use "IDragSourceHelper"
IDragSourceHelper* pDragSourceHelper;
pDragSourceHelper->InitializeFromBitmat
pDragSourceHelper->InitializeFromWindow

I hope this will be implemented in the next version of wxWidget :)

Manfred

"-JM" <jm at apostle.se> a écrit dans le message de news: 
C2C1F9B7-F3D5-4DD8-9997-DCADEC80B186 at apostle.se...
> 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
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
> 








More information about the wx-users mailing list