• 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
Enabling click-through
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Enabling click-through


  • Subject: Enabling click-through
  • From: Kevin Ballard <email@hidden>
  • Date: Thu, 11 Nov 2004 07:57:12 -0500

I'm trying to figure out how to get click-through to work on a custom view. I have a background app that opens a transparent window with a custom view on it and I want to be able to click the view without activating the window (since clicking it makes it disappear) - currently when I click on it, the frontmost app's key window loses key, and I don't want that. I've tried various things I see in docs that looks related and nothing works. I've also tried searching mamasam and cocoadev.com and all I see is questions on how to disable click-through on some controls (although the click-through they're talking about still activates the window, it just also triggers the control).

Basically, want I want is the effect of holding cmd down without actually having to hold command down. An alternate way to look at it is I want the same behaviour that iTunes's buttons shows when it's in the small controller state (hit the zoom button).

Any tips?

--
Kevin Ballard
email@hidden
http://www.tildesoft.com
http://kevin.sb.org

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

  • Follow-Ups:
    • Re: Enabling click-through
      • From: Jim Correia <email@hidden>
  • Prev by Date: CGPostKeyboardEvent strangeness
  • Next by Date: Re: NSView & border
  • Previous by thread: Re: CGPostKeyboardEvent strangeness
  • Next by thread: Re: Enabling click-through
  • Index(es):
    • Date
    • Thread