Drag & Drop problem solved.
Drag & Drop problem solved.
- Subject: Drag & Drop problem solved.
- From: klee04 <email@hidden>
- Date: Mon, 22 Nov 2004 17:17:42 +0900
Hi,
I had that weird problem of not receiving
dragging mouse event when drag and drop started. When I used following code, it solved the
problem.
[pboard
declareTypes:[NSArray arrayWithObjects: DragDropSimplePboardType,
NSStringPboardType, nil] owner:self];
[pboard setData:[NSData
data] forType:DragDropSimplePboardType];
I put these lines when I started dragging, and it
worked even though I do not know why this call is necessary. Doesn’t this work on copy, cut and
paste?
Kanghoon Lee.
|
_______________________________________________
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