Re: Transparent windows intercepting clicks
Re: Transparent windows intercepting clicks
- Subject: Re: Transparent windows intercepting clicks
- From: Kaspar Fischer <email@hidden>
- Date: Tue, 20 Sep 2005 22:34:45 +0200
On 20.09.2005, at 14:33, Andrew Bush wrote:
Hi all,
I have a transparent window with a partially visible view in the
middle of it, Id like the user to be able to drag the view around
so Ive set
[window setMovableByWindowBackground:YES];
unfortunately this seems to mean that even the transparent part of
the window will intercept clicks and allow itself to be dragged.
is there some way to make it so that only the visible part of the
view will be draggable?
thanks for any help.
Yours cheerfully,
Andrew Bush
The Apple example at
http://developer.apple.com/samplecode/RoundTransparentWindow/
RoundTransparentWindow.html
shows how to do this: it displays a window with a custom shape
and implements dragging within the shape.
Hope this helps,
Kaspar
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden