Re: Selection marquees (rubberband selection?)
Re: Selection marquees (rubberband selection?)
- Subject: Re: Selection marquees (rubberband selection?)
- From: Scott Anguish <email@hidden>
- Date: Wed, 6 Sep 2006 03:46:57 -0400
Yeah, this isn't trivial unfortunately.
Sketch does this, and there is code in there to look at.
as far as the transparent window approach goes, that's another good
option... have a look at the FunkyOverlayWindow example http://developer.apple.com/samplecode/FunkyOverlayWindow/index.html
On Sep 5, 2006, at 9:45 PM, GJ Developer wrote:
I've been scouring the on-line doc, the web and the mailing list
archives, and haven't come up with much...
I want to implement a drag selection for zooming in on the image,
like Finder does when you drag on the desktop. There are some
obscure references to creating a transparent window and drawing a
partially opaque rectangle on the window, but I can't figure out how
to get the window positioned directly on top of my view, not to
mention how to draw the rectangle inside the window based on the
mouse-down and drag positions.
_______________________________________________
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