• 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: "Alan Smith" <email@hidden>
  • Date: Thu, 30 Mar 2006 15:43:57 -0500

No, not quite. I mean, you have a NSView on a window and you can move the
whole view around on the window. Not move the contents of a view around
inside itself.

Thanks, Alan

On 3/30/06, Wain <email@hidden> wrote:
>
> 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
>



--
// 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: "I. Savant" <email@hidden>
References: 
 >moving views (From: "Alan Smith" <email@hidden>)
 >Re: moving views (From: Wain <email@hidden>)

  • Prev by Date: Re: Opening a window in Core Data application
  • Next by Date: Re: Opening a window in Core Data application
  • Previous by thread: Re: moving views
  • Next by thread: Re: moving views
  • Index(es):
    • Date
    • Thread