FROM : j o a r
DATE : Fri Feb 01 20:32:19 2008
On Feb 1, 2008, at 11:09 AM, Vance wrote:
> Now, when the user clicks anywhere outside the status bar, the
> application needs to Hide the window.
> On what even do I hide the window? mouseDown or any other mouse
> related NSResponder event does not get called when it occurs outside
> of the view client area.
Why do you need to open a window, why not just use a regular menu with
a custom view? One obvious answer to that question might be that you
need to support versions of Mac OS X prior to Leopard - Is that the
case?
On 10.4 and later you can probably use the CGEventTap API to find the
information that you're looking for.
j o a r
DATE : Fri Feb 01 20:32:19 2008
On Feb 1, 2008, at 11:09 AM, Vance wrote:
> Now, when the user clicks anywhere outside the status bar, the
> application needs to Hide the window.
> On what even do I hide the window? mouseDown or any other mouse
> related NSResponder event does not get called when it occurs outside
> of the view client area.
Why do you need to open a window, why not just use a regular menu with
a custom view? One obvious answer to that question might be that you
need to support versions of Mac OS X prior to Leopard - Is that the
case?
On 10.4 and later you can probably use the CGEventTap API to find the
information that you're looking for.
j o a r
| Related mails | Author | Date |
|---|---|---|
| Vance | Feb 1, 20:09 | |
| j o a r | Feb 1, 20:32 | |
| Vance | Feb 1, 20:53 | |
| Vance | Feb 1, 22:55 |






Cocoa mail archive

