Re: Manipulating Scrollers question
Re: Manipulating Scrollers question
- Subject: Re: Manipulating Scrollers question
- From: "Erik M. Buck" <email@hidden>
- Date: Thu, 9 May 2002 19:16:41 -0500
- Organization: EMB & Assocites Inc.
Look for an old Openstep sample called DeluxScrollView. NSScrollView has a
method for tiling the scrollers and the content area. You can override the
tiling method to make room for whatever you want.
Cocoa's NSScrollView has a method to set the view in the corner between
scrollers. Set the view to any view you want that displays coordinates.
----- Original Message -----
From: "James Pengra" <email@hidden>
To: <email@hidden>
Sent: Thursday, May 09, 2002 4:33 PM
Subject: Manipulating Scrollers question
>
Folks,
>
Actually, I have 2 questions:
>
>
1. On a scrolled view, I would like to shorten the left end of the
>
horizontal scroller to leave room to display current information.
>
I've scanned the header files and the scroller.htmls and don't see
>
anything obvious that would make this easy. Has anyone done this and,
>
if so, how?
>
>
2. I would like to display the mouse cursor position on the fly, that
>
is, as the cursor is moved about within a view, display its
>
coordinates within the space at the left end of the scroll bar
>
mentioned above. In pre-OSX times I could get insert a procedure into
>
the Event Loop which would do this, but I can't find any such opening
>
in Cocoa. So far, I've studied NSApplication.html.
>
>
Thanks, Jim
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.