Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: custom editable data browser columns
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: custom editable data browser columns



On Jun 26, 2006, at 17:52, Steve Mills wrote:

OK, color me confused. From the documentation, it looks like a data browser column that's a custom data type can be editable. The docs also say that DataBrowserEditItemProcPtr is not recommended (probably because it uses the CFStringRef instead of CFMutableStringRef). So how does one make it so a 2nd click on a cell will activate an editing session? I'm attempting to create a key equiv manager very similar to the Key Bindings editor in Xcode. Normaly, a click on cell data in a selected row causes text items to start an edit session. Xcode's Key Bindings editor needs a double-click in the key equiv to start its edit session. How can I do either of these for a custom data type?

Sadly, the BasicDataBrowser sample doesn't illustrate how to do anything with a custom data type. I wish it would get updated to show you how to do *everything* that a DB can do.

Also, is it possible to find the double-clicked property from the NotifyProc? Seems like kind of a bad decision to NOT include the property in this callback, since many of the messages could benefit from knowing the property, and seem worthless without it.


_________________________________________________________
Steve Mills                              Me: 952-401-6255
Senior Software Architect                         MultiAd
email@hidden                       www.multi-ad.com


_______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >custom editable data browser columns (From: "Steve Mills" <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.