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