• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: "Open dialogue"-like file system browser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Open dialogue"-like file system browser


  • Subject: Re: "Open dialogue"-like file system browser
  • From: John Stiles <email@hidden>
  • Date: Tue, 17 Jan 2006 07:53:34 -0800

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.)


David Zentgraf wrote:
Hi,

I want to implement a simple file system browser into my application, which basically mirrors exactly the behaviour of a standard "Open dialogue", including sidebar and all. It will need to be part of my main-window though, so I can't just use the Open dialogue. Will I have to code that myself, or is there some pre-defined object I could use?

Sorry, yes, I'm just starting with Cocoa. :)

Chrs,
Dav
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: "Open dialogue"-like file system browser
      • From: Stephane <email@hidden>
    • Re: "Open dialogue"-like file system browser
      • From: j o a r <email@hidden>
References: 
 >"Open dialogue"-like file system browser (From: David Zentgraf <email@hidden>)

  • Prev by Date: Re: Q: "Linking" to mail messages?
  • Next by Date: Re: Bug? Not receiving mouseEntered and mouseExited events
  • Previous by thread: "Open dialogue"-like file system browser
  • Next by thread: Re: "Open dialogue"-like file system browser
  • Index(es):
    • Date
    • Thread