Dragging to select rectangle
Dragging to select rectangle
- Subject: Dragging to select rectangle
- From: John Nairn <email@hidden>
- Date: Tue, 02 Sep 2003 17:14:24 -0600
I need an option to click on NSView and drag out a rectangle to select
a region of a picture. I thought I came across a method to accomplish
this once before in a single call, but I can not find it now. Is there
a simple call or do I need something more involved such as
a. Use mouseDown method and keep control while mouse is down updating
current rectangle as needed until mouse is released.
b. Implement drag and drop methods with feedback to connect origin to
current position.
------------
John Nairn (1-801-581-3413, FAX: 1-801-581-4816)
Web page:
http://www.eng.utah.edu/~nairn
_______________________________________________
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.