• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Dragging window when modifier keys pressed.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Window levels - is this safe?
  • Next by Date: Re: Window levels - is this safe?
  • Previous by thread: Re: Window levels - is this safe?
  • Next by thread: cursorRects/trackingRects in non-key window
  • Index(es):
    • Date
    • Thread