• 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: Brushed Metal Window Dragging
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Brushed Metal Window Dragging


  • Subject: Re: Brushed Metal Window Dragging
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Fri, 1 Oct 2004 16:35:20 +0200

At 15:32 Uhr +0200 01.10.2004, Michael Becker wrote:
Nevertheless, I achieved the desired behavior by putting the custom view inside a scroll view and hiding the scrollbars. But that doesn't seem like the "right" way. So what do I have to do in order to keep the window from being dragged? It feels like I should catch the mouse event, but I don't know how to do that.

Override NSView's - (BOOL)mouseDownCanMoveWindow; to retorn NO.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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
References: 
 >Brushed Metal Window Dragging (From: Michael Becker <email@hidden>)

  • Prev by Date: Brushed Metal Window Dragging
  • Next by Date: Re: Brushed Metal Window Dragging
  • Previous by thread: Brushed Metal Window Dragging
  • Next by thread: Re: Brushed Metal Window Dragging
  • Index(es):
    • Date
    • Thread