On 6 Aug 2011, at 13:23, Ron Fleckner wrote:

> 
> On 06/08/2011, at 9:00 PM, julius wrote:
> 
>> The need for the child window to have a minimum alpha of 0.05 in order for 
>> it to receive mouse events has an acceptably small effect on the movie's 
>> colour.
> 
> Hey Julian, this should allow you to get rid of that 0.05 of darkness:
> 
> setIgnoresMouseEvents:
> Specifies whether the window is transparent to mouse clicks and other mouse 
> events, allowing overlay windows.
> 
> - (void)setIgnoresMouseEvents:(BOOL)ignoreMouseEvents
> Parameters
> ignoreMouseEvents
> If YES, the window will ignore mouse events; if NO, it will not.
> Availability
>       • Available in Mac OS X v10.2 and later.
> See Also
>       • – ignoresMouseEvents
> Related Sample Code
>       • FunkyOverlayWindow
>       • UIElementInspector
> Declared In
> NSWindow.h
> 
> Ron
> 
Brilliant!
Works like a dream.
Thanks
Julius

http://juliuspaintings.co.uk



_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to