Re: Problem with NSDatePicker in popover

2013-02-24 Thread William J. Cheeseman
On Feb 23, 2013, at 10:01 PM, Graham Cox graham@bigpond.com wrote: When a popover is still anchored to its parent window, the popover view's window is the parent window -- which makes sense, when you think about it, because a popover is just another view in the main window. Are you

Re: Problem with NSDatePicker in popover (workaround)

2013-02-24 Thread William J. Cheeseman
On Feb 24, 2013, at 6:33 AM, Graham Cox graham@bigpond.com wrote: If you've done all that and it's still not working as expected, maybe there's a subtle bug in the code that animates between the popover and the new window. This being newish code, it's possible. I've done all that, and

Re: Problem with NSDatePicker in popover (workaround)

2013-02-24 Thread William J. Cheeseman
On Feb 24, 2013, at 8:04 AM, William J. Cheeseman wjcheese...@gmail.com wrote: Here's the workaround I came up with, tested in Apple's Popover example but not yet tested in my own application. It works in my own application, too. All is well with the world once again. Thanks for the help

Re: Problem with NSDatePicker in popover (workaround)

2013-02-24 Thread William J. Cheeseman
On Feb 24, 2013, at 8:04 AM, William J. Cheeseman wjcheese...@gmail.com wrote: Here's the workaround I came up with, tested in Apple's Popover example but not yet tested in my own application. It works in my own application, too. All is well with the world once again. Thanks for the help

Re: Problem with NSDatePicker in popover (workaround)

2013-02-24 Thread William J. Cheeseman
On Feb 24, 2013, at 8:25 AM, William J. Cheeseman wjcheese...@gmail.com wrote: On Feb 24, 2013, at 8:04 AM, William J. Cheeseman wjcheese...@gmail.com wrote: Here's the workaround I came up with, tested in Apple's Popover example but not yet tested in my own application. It works

Problem with NSDatePicker in popover

2013-02-23 Thread William J. Cheeseman
My Mac OS application has an NSDatePicker object in a popover. When the popover opens, the date picker works perfectly. However, when I detach the popover to its own window, the date picker no longer highlights the selected date picker element. The date picker still works perfectly in all

Re: Problem with NSDatePicker in popover

2013-02-23 Thread William J. Cheeseman
On Feb 23, 2013, at 1:35 PM, Keary Suska aksu...@frequentflyerservices.com wrote: Your description suggests that you aren't using separate UI elements for the window and the popover as required by the docs...? When I said I am instantiating separate controllers and views for the anchored

Re: Problem with NSDatePicker in popover

2013-02-23 Thread William J. Cheeseman
On Feb 23, 2013, at 1:35 PM, Keary Suska aksu...@frequentflyerservices.com wrote: Your description suggests that you aren't using separate UI elements for the window and the popover as required by the docs...? I just discovered that Apple's Popover sample code exhibits exactly the same

Re: Problem with NSDatePicker in popover

2013-02-23 Thread William J. Cheeseman
On Feb 23, 2013, at 2:46 PM, William J. Cheeseman wjcheese...@gmail.com wrote: I just discovered that Apple's Popover sample code exhibits exactly the same problem when I add a date picker to its popover view! The date picker looks and works as it should when the popover is anchored to its

Re: Problem with NSDatePicker in popover

2013-02-23 Thread William J. Cheeseman
On Feb 23, 2013, at 3:32 PM, William J. Cheeseman wjcheese...@gmail.com wrote: Using Apple's Popover example with a date picker added to its popover view, I made MyWindowController the delegate of the popover view Correction: I made MyWindowController the delegate of the detachedWindow

Re: Problem with NSDatePicker in popover

2013-02-23 Thread William J. Cheeseman
On Feb 23, 2013, at 4:04 PM, William J. Cheeseman wjcheese...@gmail.com wrote: When a popover is still anchored to its parent window, the popover view's window is the parent window -- which makes sense, when you think about it, because a popover is just another view in the main window. When

Re: Detecting a native Cocoa app ?

2013-02-07 Thread William J. Cheeseman
On Feb 7, 2013, at 3:32 AM, dvlc...@gmail.com wrote: I would like to automatically detect when the target application is native cocoa, so that I may switch the plugin off otherwise. How would you do that ? There is an Apple QA document that explains how to do that. It was published a

Re: Detecting a native Cocoa app ?

2013-02-07 Thread William J. Cheeseman
On Feb 7, 2013, at 3:32 AM, dvlc...@gmail.com wrote: I would like to automatically detect when the target application is native cocoa, so that I may switch the plugin off otherwise. How would you do that ? ULI's answer makes sense if you are asking which frameworks are being used. However,

HiDPI retina issue with multi-screen overlay window and Core Animation

2013-01-12 Thread William J. Cheeseman
My Pointer Noodge application displays an animated image surrounding the mouse pointer using a layer-hosting multi-screen view: http://pfiddlesoft.com/pfiddles. I am having difficulty upgrading it to handle a mix of retina and non-retina displays. All help appreciated. The specific problem is

Re: HiDPI retina issue with multi-screen overlay window and Core Animation

2013-01-12 Thread William J. Cheeseman
On Jan 12, 2013, at 11:21 AM, Richard Somers rsomers...@awinets.com wrote: A single window which overlays multiple screens with each screen using a possibly different backingScaleFactor. Wow! It's the only way I could find to detect when the mouse enters any particular screen, using