Re: Dragging Views and Cursor
Re: Dragging Views and Cursor
- Subject: Re: Dragging Views and Cursor
- From: Seth Willits <email@hidden>
- Date: Fri, 9 Apr 2004 23:34:15 -0700
On Apr 9, 2004, at 10:58 PM, Andreas Mayer wrote:
If you care to see what I've accomplished so far, you can download
this small little sample app:
<http://www.freaksw.com/MultiViewTest.app.sit>
You also need to honor the users appearance preferences. I'm using
Graphite but your control is still Aqua blue.
Yeah I know.
The close button doesn't work right. When I click in it, move the
mouse outside the button and release it, the tab is removed
regardless.
Yeah I know. It's still a WIP.
2) During the drag, drawing where the tab would drop or, preferably,
making the tabs move about like toolbar items do when you drag them
around would be extremely nice, but is not necessary. How to either
of these is beyond me (particularly the latter).
I guess this is all handled between the cell's and the view's tracking
methods (like trackMouse:inRect:ofView:untilMouseUp: etc.)
Uhh... where's that? What cells?
3) When the mouse button is released, get the view which is currently
under the mouse.
I think that's much to late ...
How is it too late? hitTest does exactly that.
Seth Willits
------------------------------------------------------------------------
---
President and Head Developer of Freak Software -
http://www.freaksw.com
REALbasic Guru at ResExcellence -
http://www.resexcellence.com/realbasic
Webmaster for REALbasic Game Central -
http://www.freaksw.com/rbgames
"There are 10 types of people in this world - those that understand
binary
and those that don't."
------------------------------------------------------------------------
---
_______________________________________________
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.