Re: moving views
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