Re: Clicking through a transparent window?
Re: Clicking through a transparent window?
- Subject: Re: Clicking through a transparent window?
- From: Sam McCandlish <email@hidden>
- Date: Wed, 31 Mar 2004 16:53:38 -0500
Here you go:
[someNSWindow setIgnoresMouseEvents:YES];
Have Fun!
Sam
On Mar 31, 2004, at 2:44 PM, Ethan John wrote:
So I've got a window that manages an OpenGLView. I want the window
itself to be as big as the whole screen, so that the view itself can
be the whole screen. I don't, however, want to draw to the entire
thing all the time -- I only want to use parts of it occasionally. I'd
like to keep the window BIG all the time because of the overhead
involved with resizing a window.
However, no matter what I do, I cannot stop my transparent window from
registering mouse clicks in transparent areas. The whole window is
transparent -- the only parts that aren't are being drawn in the
GLView.
How do I prevent a window from registering clicks in transparent areas?
ethan john
Apple Campus Representative
University of Washington
http://students.washington.edu/thaen/
206.841.4157
"Dude... I'm a car _ninja_."
_______________________________________________
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.
_______________________________________________
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.