Skip navigation.
 
mlRe: User Comments in Cocoa
FROM : Nicholas Riley
DATE : Mon Nov 01 17:55:39 2004

On Mon, Nov 01, 2004 at 05:26:33PM +0100, Ruedi Heimlicher wrote:
> Hi
> Is there a possibility to set and get User Comments in Cocoa?
> There is a call in carbon (PBDTGetCommentSync)  that requires a
> 'DTPBPtr' paramBlock structure where the 'desktop database reference
> number ioDTRefNum' is needed. No idea where to get this number.


That either does nothing or sets the pre-Mac OS X form of comments,
which aren't too useful to you.

The only supported way of getting/setting comments is sending Apple
Events to the Finder, and it's very slow.  See the gigantic threads on
the carbon-dev mailing list about this for more.

And please file a bug so we can get real comment setting APIs in a
future OS release.

--
Nicholas Riley <<email_removed>> | <http://www.uiuc.edu/ph/www/njriley>

Related mailsAuthorDate
mlUser Comments in Cocoa Ruedi Heimlicher Nov 1, 17:26
mlRe: User Comments in Cocoa Nicholas Riley Nov 1, 17:55