Skip navigation.
 
mlDragging window when modifier keys pressed.
FROM : millenomi
DATE : Wed Jul 26 10:50:45 2006

Hi everyone.
I'm currently developing a SIMBL plug-in named Afloat
<http://millenomi.altervista.org/Afloat> whose objective is to add
more window managing options to all Cocoa apps. I'm now researching
what new features I can put in and I have some nice ideas; one of them
would be, allowing the user to drag a window without having to drag it
from the title bar by pressing certain key modifiers (ctrl-cmd-drag).

Now, I more-or-less understand the event processing scheme of Cocoa so
I know where to place my code (via method swizzling if required) to
initiate the drag -- except I can't seem to find a way to do window
moving programmatically except by manually tracking events and issuing
setFrame: messages on my own. Is there a better, possibly less
intrusive way to do it?

Thank you all.

--
- $B!g(B

Related mailsAuthorDate
No related mails found.