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: Carbon Data Browser Malfunctions...




I have a data browser whose columns respond to mouse clicks (i.e. I can drag them), however they won't move when the mouse is released and there is no visual feedback under the drop location to indicate that they can be dropped; instead, they "zoom back" to the starting point.


Are you calling SetAutomaticControlDragTrackingEnabledForWindow() on your window?


Thank you - this solves the first problem. ;)


I also have a column marked as editable that refuses to be edited. When I try to edit it (e.g. highlighting and pressing return), the curious assertion "DebugAssert: HIToolbox: Client denied edit [Controls/Definitions/Browser/ListView/TTableView.cp:3732]" appears in the console.

Does your item data callback handle the case where the setValue parameter is true?


I do handle both cases; though, for set-data, I technically only recognize and return "noErr" for the column that is actually editable.

Still, I doubt this callback is the problem because I'm not even seeing an editable text area: no cursor, etc. There's no opportunity to change the value, so the OS wouldn't have any reason to tell me to update it yet...

Thanks,
Kevin G.
_______________________________________________
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: 
 >Carbon Data Browser Malfunctions... (From: Kevin Grant <email@hidden>)
 >Re: Carbon Data Browser Malfunctions... (From: Ian Anderson <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.