Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: KDataBrowserItemDoubleClicked and Column Detection



David Landon wrote:
I'm trying to determine which column was double-clicked when I receive a
KDataBrowserItemDoubleClicked notification.

I was hoping to use the item notification callback's DataBrowserItemDataRef
parameter to retrieve the column property, but the data browser passes NULL
in that parameter for double-clicks.  Is there another technique for
determining which column was double-clicked?

Thanks,
Dave


I don't think there's a documented routine to get it. I did it with sort of hack. Whenever the a item is clicked, your Get/Set callback will be called with kDataBrowserItemIsEditableProperty. Use GetDataBrowserItemDataProperty to get the clicked property and save it in the callback.


--
Stephen Chu <mailto:email@hidden>
Rampage Systems, Inc. <http://www.rampageinc.com/>
_______________________________________________
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

This email sent to email@hidden
References: 
 >KDataBrowserItemDoubleClicked and Column Detection (From: David Landon <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.