• 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
Re: Move window by dragging button
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Move window by dragging button


  • Subject: Re: Move window by dragging button
  • From: email@hidden
  • Date: Tue, 15 Jan 2008 09:36:13 +0100

Thanks, Hamish! That's exactly what I was looking for. And yes, the
action should fire on release only if there has been no drag.

On Jan 15, 2008 1:00 AM, Hamish Allan <email@hidden> wrote:
> On Jan 14, 2008 11:28 PM,  <email@hidden> wrote:
>
> > Actually the button is a huge, borderless button displaying an image,
> > so I'm not worried about the expected behavior of a NSButton per se.
> > What I'm looking for is a way to move a window with no titlebar, and
> > no background. The solution doesn't necessarily have to involve a
> > button. I just thought it convenient.
>
> Take a look at:
>
> http://developer.apple.com/samplecode/RoundTransparentWindow/index.html
>
> But you still have to decide: does the first click of the drag fire
> the action (e.g. draggable tabs in Safari 3), or does it only fire on
> the release of the click if there has been no drag (e.g. items in
> Finder's sidebar)?
>
> Hamish
>
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Move window by dragging button (From: email@hidden)
 >Re: Move window by dragging button (From: "Hamish Allan" <email@hidden>)
 >Re: Move window by dragging button (From: email@hidden)
 >Re: Move window by dragging button (From: "Hamish Allan" <email@hidden>)

  • Prev by Date: Re: CALayer/CAAnimation doesn't animate
  • Next by Date: Re: Core Data performance advice... creating relationships.
  • Previous by thread: Re: Move window by dragging button
  • Next by thread: Disabling NSTableView's behavior of turning black text white
  • Index(es):
    • Date
    • Thread