Unusual drag and drop problem
Unusual drag and drop problem
- Subject: Unusual drag and drop problem
- From: Hsu <email@hidden>
- Date: Sat, 1 Mar 2003 11:08:38 -0800
Hullo,
I've got an unusual issue with drag and drop. In my case, I have an
NSview that accepts drags. The view is in an NSDrawer.
What I want to happpen is that the drawer is closed, the user drags
something to where the drawer _will_ be when it opens, the drawer opens
and the drag is initiated.
But that doesn't work.
What actually happens is that the user drags to where the drawer will
be, the drawer opens, and as soon as the user moves the mouse again,
the drag is initiated - even though the mouse is already in the drag
region to begin with.
I've tried using [NSEvent mouseEvent...] followed by [NSApp
postEvent...] after the drawer opens but it doesn't seem to be working.
Any ideas?
Karl
--
Soon you will be ready for the dark side. Soon, you will take your
place at my side as a light and airy piece of clothing. Soon, I will
stop my repetitive sentence structure. Soon, God willing, I will get
some sleep.
Homepage:
http://homepage.mac.com/khsu/index.html
_______________________________________________
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.