El Jan 17, 2006, a las 4:53 PM, John Stiles escribió:
> There's no way, AFAIK, to embed the Open or Save dialog into a
> window of yours.
> OTOH, there are ways to extend the Open and Save dialogs to insert
> your own items. This is probably the closest you can get. Sadly, I
> don't know how to extend them using Cocoa :( When I looked at the
> docs, I didn't see anything.
> In Carbon, here's what you'd do:
>
http://developer.apple.com/documentation/Carbon/Conceptual/
> ProvidingNavigationDialogs/nsx_tasks/chapter_3_section_8.html#//
> apple_ref/doc/uid/TP30001147-CH203-BABFIHEE
>
> Unfortunately, it requires that you use Carbon HIViews, which don't
> work the same way as Cocoa NSViews. They are a bit more finicky to
> write code for. (They look and feel the same to an end user, though.)
In Cocoa, it's super easy to add your own items. You just need to:
1. add an accessoryView with setAccessoryView: and manage the
connections and outlets as you usually do.
2. There is no point 2.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (
Cocoa-dev@list...)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/subscriber%40opensubscriber.com
This email sent to
subscriber@open...
opensubscriber is not affiliated with the authors of this message nor responsible for its content.