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

Re: Enabling click-through


  • Subject: Re: Enabling click-through
  • From: Jim Correia <email@hidden>
  • Date: Thu, 11 Nov 2004 08:40:01 -0500

On Nov 11, 2004, at 7:57 AM, Kevin Ballard wrote:

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?

<http://developer.apple.com/documentation/Cocoa/Reference/ ApplicationKit/ObjC_classic/Classes/NSView.html#//apple_ref/doc/uid/ 20000014/shouldDelayWindowOrderingForEvent_>


Jim

_______________________________________________
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: Kevin Ballard <email@hidden>
References: 
 >Enabling click-through (From: Kevin Ballard <email@hidden>)

  • Prev by Date: Re: OT: Bug in IB
  • Next by Date: Re: Symbol font still not directly accessible?
  • Previous by thread: Enabling click-through
  • Next by thread: Re: Enabling click-through
  • Index(es):
    • Date
    • Thread