User-agent: Mozilla Thunderbird 1.0.7 (Macintosh/20050923)
On 30/11/05 12:06 Eric Schlegel wrote:
On Nov 29, 2005, at 5:46 PM, John Brownie wrote:
I'm having trouble with drag and drop in my PowerPlant X application.
I install handlers for all the drag and drop events
(kEventControlDragEnter, kEventControlDragWithin, kEventDragLeave,
kEventDragReceive), but the handlers never get called. I must be
missing something in the documentation (again), and I've run out of
places that I can think of to look.
You also need to call SetAutomaticControlDragTrackingEnabledForWindow.
OK, I did that, but it's not working yet. I have a bunch of controls
(all based on PPx::View and hence HIView) that can accept a drag. I'm
installing the handlers on each of those views, but the DragEnter
handler never gets called. I tried adding another handler at the window
level, but it doesn't get called either.
Controls.h gets awfully confusing with two kinds of drag and drop
referred to in various ways. I find it hard to know if something that
refers to drags is using the Drag Manager or the Carbon event model of
drag and drop, so I suspect that I'm missing something there!
John
--
John Brownie, email@hidden or email@hidden
Summer Institute of Linguistics | Mussau-Emira language, Mussau Is.
Ukarumpa, Eastern Highlands Province | New Ireland Province
Papua New Guinea | Papua New Guinea
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden