• 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: Making transparent parts of an opengl view drop clicks to the application behind it
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making transparent parts of an opengl view drop clicks to the application behind it


  • Subject: Re: Making transparent parts of an opengl view drop clicks to the application behind it
  • From: Scott Thompson <email@hidden>
  • Date: Mon, 24 Oct 2005 08:47:34 -0500


On Oct 21, 2005, at 5:14 PM, Andrew Bush wrote:

Hi all,


so Ive still got this problem of making the transparent parts of an opengl view drop its clicks to whatever application is behind it....this is looking pretty impossible at the moment, Ive not been able to find anything about how to do so.


The next best solution I think is manually firing the captured clicks back to the system event queue as I receive them, after checking their location in the opengl view.....is there a way to do this? Ive not been able to find anything on the net at all..

There probably is no way to do this. Even if you could send the events back to the OS, I imagine the best it could do is look at the global window list, see the click is destined for your window and send it back to your application.


Theoretically, if you create a window, and part of that window's frame is transparent, the Window Server should make note of that fact and should pass the click through your window. You, of course, will never be notified of the click, though.

Scott


_______________________________________________ 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: 
 >Making transparent parts of an opengl view drop clicks to the application behind it (From: Andrew Bush <email@hidden>)

  • Prev by Date: Re: Building a view transparent to dragging
  • Next by Date: Re: alloc, init and autorelease/release
  • Previous by thread: Making transparent parts of an opengl view drop clicks to the application behind it
  • Next by thread: Occasional stutter on animated window resize?
  • Index(es):
    • Date
    • Thread