• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Transparent windows intercepting clicks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Transparent windows intercepting clicks (From: Andrew Bush <email@hidden>)

  • Prev by Date: Re: Transparent windows intercepting clicks
  • Next by Date: NSDateFormatter time zone not "sticking"?
  • Previous by thread: Re: Transparent windows intercepting clicks
  • Next by thread: cut copy paste giving ding sound!!
  • Index(es):
    • Date
    • Thread