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

Re: Click-through windows


  • Subject: Re: Click-through windows
  • From: "Kenneth C. Dyke" <email@hidden>
  • Date: Sun, 4 Aug 2002 20:41:59 -0700

In Mac OS X 10.2 there is a new method you can use on NSWindow to make it transparent to mouse events:

#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_2
- (void)setIgnoresMouseEvents:(BOOL)flag;
- (BOOL)ignoresMouseEvents;
#endif

On Saturday, August 3, 2002, at 01:11 AM, Pierre-Olivier Latour wrote:

Hi,

Is it possible to create a window in Cocoa that lets the click go through? I
mean, as if the window was invisible to the mouse: clicking on the window
wouldn't bring its application to front and the click would be handled
normally by the window behind it, belonging to another application.

I know one solution is to draw directly on screen, but I'm looking for a
"cleaner" way to do this.


_____________________________________________________________

Pierre-Olivier Latour email@hidden
Lausanne, Switzerland http://www.pol-online.net
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


Kenneth Dyke, email@hidden (personal), email@hidden (work)
Sr. Mad Scientist, MacOS X OpenGL Group, Apple Computer, Inc.
C++: The power, elegance and simplicity of a hand grenade.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Click-through windows (From: Pierre-Olivier Latour <email@hidden>)

  • Prev by Date: Re: Wring code without interface builder
  • Next by Date: Re: Framework problem
  • Previous by thread: Re: Click-through windows
  • Next by thread: Two Quick Questions…
  • Index(es):
    • Date
    • Thread