Re: Always allowing drags from WebView inside a global NSPanel

2008-09-26 Thread Nick Beadman
Just wanted to follow up on this so the list archive has a solution in case anyone searches for anything similar in the future. The solution is courtesy of Darin Adler over on webkitsdk-dev. The solution is to override -[NSWindow sendEvent:] and if the window is not main send the NSLeftMous

Re: Always allowing drags from WebView inside a global NSPanel

2008-09-23 Thread Nick Beadman
Ben, On Sep 23, 2008, at 8:19 am, Benjamin Stiglitz wrote: The problem I am having is that to drag out of the WebView the panel has to be main (i.e. the close/minimize/zoom buttons are filled in). However, if you hold down the command key, the drag out of that window works fine. Where d

Re: Always allowing drags from WebView inside a global NSPanel

2008-09-23 Thread Benjamin Stiglitz
> The problem I am having is that to drag out of the WebView the panel has > to be main (i.e. the close/minimize/zoom buttons are filled in). > However, if you hold down the command key, the drag out of that window > works fine. > > Where do I start looking to make this work without having to

Always allowing drags from WebView inside a global NSPanel

2008-09-22 Thread Nick Beadman
I have a NSPanel which does not hide on deactivate [1] and has a WebView embedded in a NSTabView. All of this resides in an "agent" application (LSUIElement is set in Info.plist). The objective is to have a small globally accessible web site where the user can drag images into other applica