Dragging window when modifier keys pressed.
Dragging window when modifier keys pressed.
- Subject: Dragging window when modifier keys pressed.
- From: millenomi <email@hidden>
- Date: Wed, 26 Jul 2006 10:50:45 +0200
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.
--
- ∞
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden