• 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: moving views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: moving views


  • Subject: Re: moving views
  • From: Wain <email@hidden>
  • Date: Thu, 30 Mar 2006 19:32:32 +0100

Hi,

Do you mean you want to grab the view and scroll it around inside it's window like Preview and Acrobat?
If so look at:


http://www.scotlandsoftware.com/ftp/source/grabscroll.tgz

Wain

On 30 Mar 2006, at 19:13, Alan Smith wrote:

Hi everyone,
I want to be able to move a NSView around when the user clicks and drags it.
I tried overriding mouseDownCanMoveWindow but it doesn't do anything. I then
tried overriding mouseDown and mouseDragged but it still doesn't work. I
might just not be doing it right, so if you've done this before or can
figure it out quick I would greatly appreciate some sample code.


Thanks, Alan

--
// Quotes from yours truly -------------------------
"You don't forget, you just don't remember."
_______________________________________________
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


  • Follow-Ups:
    • Re: moving views
      • From: "Alan Smith" <email@hidden>
References: 
 >moving views (From: "Alan Smith" <email@hidden>)

  • Prev by Date: predicate builder gui
  • Next by Date: Question on Categories
  • Previous by thread: moving views
  • Next by thread: Re: moving views
  • Index(es):
    • Date
    • Thread