User-agent: Mozilla Thunderbird 1.0 (Macintosh/20041206)
I'm having problems supporting text editing in my list view Data
Browser. This is in a Mach-O Carbon app, building on 10.3.8 with CW 9.4.
I've followed the instructions in the Apple docs (also duplicated in
TN2009) but I never get the callback that would allow me to retrieve the
edited text.
My understanding is that I should get the following:
1. Data callback with query kDataBrowserItemIsEditableProperty and
setValue = false [allows you to confirm editing is allowed]
2. Notification of edit start
3. Data Callback with query kDataBrowserItemIsEditableProperty and
setValue = true [allows you to extract edit text and save it]
4. Notification of edit finish
I get 2 instances of callback 1, but never receive callback 3. By the
time I get callback 4 it's too late to extract the text since the edit
control has been destroyed.
This is occurring in both my own code, and in Apple's own
BasicDataBrowser sample in Xcode.
Has anyone managed to get it to work?
Thanks,
Graham Westlake
_______________________________________________
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