I do what Frederick suggested. Here's my code that exists in the
setValue = TRUE switch statement (error checking removed)
if (setValue)
{
switch(property)
{
case kLevelName :
GetDataBrowserItemDataText(itemData,&cfString);
if
(CFStringGetCString(cfString,&(levelName[0]),sizeof(levelName),kCFStrin
gEncodingMacRoman))
set_LevelName(itemID,levelName);
}
}
Excellent, this has cleared up the problem.
I think the documentation is at fault here. It states "When the editing
session is finished, your item-data callback is sent another
kDataBrowserItemIsEditableProperty inquiry with the setValue parameter
set to true.", so this is what I was looking for. But in fact you are
sent the column property ID with setValue set to true - which is what
your code responds to.
Thanks to both of you for your responses,
Graham
_______________________________________________
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