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

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

Detecting which NSMenuItem is under the mouse (cocoa objective C)

2020-01-07 Thread JP HARMAND via Cocoa-dev
While a NSMenu item is opened, some items are disabled and some are enabled, exactly as wanted . Moving the mouse over this menu , I now want to know which item is under the mouse what ever it’s sate is. I am notified with -(void)menu (NSMenu*)menu willHighlightItem(NSMenuItem*)menuItem each ti

Re: Cocoa-dev Digest, Vol 16, Issue 80

2019-09-03 Thread JP HARMAND via Cocoa-dev
A « mystery » left in a piece of code will reveal itself a problem, one day or another.. Good luck ! JP Today's Topics: 1. ARC problems (Turtle Creek Software) -- Message: 1 Date: Mon, 2 Sep 2019 20:33:58 -0400 From: Turt