Re: Pop-up menus not working in NSOutlineView with image subview

2014-07-03 Thread Jonathan Mitchell
On 3 Jul 2014, at 03:40, Tim Hewett tghewe...@onetel.com wrote: I have an NSOutlineView with a NSImageView subview providing a background image. Now a pop-up menu has been added to the outline view it seems the menu only appears with a secondary click on a trackpad. Ctrl-click and the right

Re: Pop-up menus not working in NSOutlineView with image subview

2014-07-03 Thread Andy Lee
Maybe use a subclass of NSImageView that returns nil for hitTest:? Just a thought. --Andy On Wed, Jul 2, 2014, at 10:40 PM, Tim Hewett wrote: I have an NSOutlineView with a NSImageView subview providing a background image. Now a pop-up menu has been added to the outline view it seems the

Pop-up menus not working in NSOutlineView with image subview

2014-07-02 Thread Tim Hewett
I have an NSOutlineView with a NSImageView subview providing a background image. Now a pop-up menu has been added to the outline view it seems the menu only appears with a secondary click on a trackpad. Ctrl-click and the right mouse button do not pop up the menu. Removing the background image