• 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: Selection marquees (rubberband selection?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Selection marquees (rubberband selection?) (From: GJ Developer <email@hidden>)

  • Prev by Date: Re: Selection marquees (rubberband selection?)
  • Next by Date: Re: Selection marquees (rubberband selection?)
  • Previous by thread: Re: Selection marquees (rubberband selection?)
  • Next by thread: Re: Selection marquees (rubberband selection?)
  • Index(es):
    • Date
    • Thread