Drag&Drop image opacity

2020-11-16 Thread JP HARMAND via Cocoa-dev
Thanks Howard That’s what I finally did, but, for my specific case, this involves two images, one opaque and one transparent, Instead of an opaque one plus some (inexistant !) transparency framework feature while drag…. Some times I mourn The Dead Carbon…. who had this built in feature… RG

Re: Drag&Drop image opacity

2020-11-16 Thread Howard Moon via Cocoa-dev
According to the docs: The Dragged Image The image that is dragged in a dragging session is simply an image that represents the data on the pasteboard. Although a dragging destination can access the image, its primary concern is with the pasteboard data that the image represents—the dragging oper

Drag&Drop image opacity

2020-11-16 Thread JP HARMAND via Cocoa-dev
If I assign an opaque image to an NSDrag, the system add some transparency to my image while dragging. This is OK, but I would like to adjust this transparency to better see through the image while it is over some of my app interface objects. Could not find any way to do this . Of course I can m