Re: Click-through

2017-03-25 Thread Quincey Morris
On Mar 25, 2017, at 11:18 , Markus Spoettl wrote: > > you can overwrite -mouseDown: and -mouseUp: and not call super. Actually, that’s probably not going to work too well. The easiest way is to subclass the relevant controls and override “acceptsFirstMouse” to return false. However, either app

Re: Click-through

2017-03-25 Thread Markus Spoettl
On 25/03/17 18:54, Daryle Walker wrote: Is there any way to disable click through? On a toolbar control or otherwise. Through an Interface Builder setting or otherwise. Depends on your needs, really but programmatically if you have a custom view class you can overwrite -mouseDown: and

Click-through

2017-03-25 Thread Daryle Walker
Is there any way to disable click through? On a toolbar control or otherwise. Through an Interface Builder setting or otherwise. Sent from my iPhone ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or

Re: Lion breaks the ability to "click-through" transparent window areas when the window is resizable.

2011-09-09 Thread Andreas Mayer
Am 10.09.2011 um 06:21 schrieb Ken Thomases: > So, it is apparently intentional that setIgnoresMouseEvents:NO will make a > transparent window non-transparent to mouse events. I recognize that this > seems to be a change in Lion vs. Snow Leopard, but the Lion behavior seems to > restore intend

Re: Lion breaks the ability to "click-through" transparent window areas when the window is resizable.

2011-09-09 Thread Ken Thomases
On Sep 9, 2011, at 10:43 PM, Andreas Mayer wrote: > While doing some additional testing before writing a bug report, I noticed > that Apple's "RoundTransparentWindow" sample code did work as expected! > Turns out that setIgnoresMouseEvents:NO will do the actual breaking. > Bug ID# 10104405 > >

Re: Lion breaks the ability to "click-through" transparent window areas when the window is resizable.

2011-09-09 Thread Andreas Mayer
Follow-Up: While doing some additional testing before writing a bug report, I noticed that Apple's "RoundTransparentWindow" sample code did work as expected! Turns out that setIgnoresMouseEvents:NO will do the actual breaking. Thus: Bug ID# 10104405 Summary: Sending setIgnoresMouseEvents:NO

Re: Lion breaks the ability to "click-through" transparent window areas when the window is resizable.

2011-09-09 Thread Bill Cheeseman
On Sep 9, 2011, at 11:02 AM, Andreas Mayer wrote: > Make Applidude active and click in one of the corners, outside the gray area. > You are still able to move the window. > > That's the bug we are talking about. The click should fall through in > transparent areas of the window. I see what y

Re: Lion breaks the ability to "click-through" transparent window areas when the window is resizable.

2011-09-09 Thread Andreas Mayer
Am 09.09.2011 um 11:52 schrieb Bill Cheeseman: > My clickthrough application still works on 10.7.1. Making a window completely ignore mouse clicks still works. But try this: Make Applidude active and click in one of the corners, outside the gray area. You are still able to move the window. T

Re: Lion breaks the ability to "click-through" transparent window areas when the window is resizable.

2011-09-09 Thread Bill Cheeseman
On Sep 9, 2011, at 12:41 AM, Andreas Mayer wrote: > Am 05.08.2011 um 22:01 schrieb R R Hornback: > > I just found this message while searching for a solution to the same problem. > >> With OS X Lion, even when the window background is transparent, the window >> still receives the mouse events.

Re: Lion breaks the ability to "click-through" transparent window areas when the window is resizable.

2011-09-08 Thread Andreas Mayer
Am 05.08.2011 um 22:01 schrieb R R Hornback: I just found this message while searching for a solution to the same problem. > With OS X Lion, even when the window background is transparent, the window > still receives the mouse events. > > I have determined that this is related to whether or no

Lion breaks the ability to "click-through" transparent window areas when the window is resizable.

2011-08-05 Thread R R Hornback
The desire is to have a bordered, movable, resizable window with a "hollow" interior--hollow meaning that the user can both see through the content area (transparent) and any mouse/keyboard events are sent to whatever window/application is below. This was easily accomplished prior to OS X 10.7

NSView click through

2009-05-24 Thread Mr. Gecko
Hello, I'll start off by saying what I'm trying to do. I'm making a status item that uses a view to scroll text across the menu and I'm trying to make it so if you click it, it goes to the status item and the status item displays the menu and highlights. The way I have it now is I have a mous

Re: Transparent view click-through -- NOT SOLVED

2008-04-12 Thread Greg Hoover
at least for my situation. Thanks. On Apr 12, 2008, at 1:19 AM, Ron Fleckner wrote: On 12/04/2008, at 9:54 AM, Greg Hoover wrote: Is there a way to prevent click through on a transparent view? Greg Not really the answer you're looking for, but a workaround is to set the colour of the

Re: Transparent view click-through -- SOLVED

2008-04-12 Thread Ron Fleckner
ation. Thanks. On Apr 12, 2008, at 1:19 AM, Ron Fleckner wrote: On 12/04/2008, at 9:54 AM, Greg Hoover wrote: Is there a way to prevent click through on a transparent view? Greg Not really the answer you're looking for, but a workaround is to set the colour of the view to be white, th

Re: Transparent view click-through -- SOLVED

2008-04-12 Thread Greg Hoover
I hadn't implemented the isOpaque method on my custom views. This did the trick, at least for my situation. Thanks. On Apr 12, 2008, at 1:19 AM, Ron Fleckner wrote: On 12/04/2008, at 9:54 AM, Greg Hoover wrote: Is there a way to prevent click through on a transparent view? Greg

Re: Transparent view click-through

2008-04-12 Thread Ron Fleckner
On 12/04/2008, at 9:54 AM, Greg Hoover wrote: Is there a way to prevent click through on a transparent view? Greg Not really the answer you're looking for, but a workaround is to set the colour of the view to be white, then set the transparency to 5%. Anything less than 5% allows

Transparent view click-through

2008-04-11 Thread Greg Hoover
Is there a way to prevent click through on a transparent view? Greg ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at

Re: Prevent click through (Tiger and Leopard)

2008-03-11 Thread Jens Alfke
On 11 Mar '08, at 9:36 PM, Marc Respass wrote: I am confused about how to prevent click through. I don't _think_ this is related to "click-through", as in buttons in inactive windows still responding to clicks. Click-through doesn't happen for buttons explicitly

Prevent click through (Tiger and Leopard)

2008-03-11 Thread Marc Respass
Hi All, I am confused about how to prevent click through. My document puts up a window when a button is clicked. I disable the button then display the other window. If the user clicks off the other window (it resigns key), then I close it and re-enable the button. But the main window