iDevGames Forums
Prompting User to Select File - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Game Programming Fundamentals (/forum-7.html)
+--- Thread: Prompting User to Select File (/thread-4954.html)



Prompting User to Select File - hangt5 - Oct 2, 2005 12:02 AM

This *little* problem has been driving me nuts for way too many hours now. I need to prompt the user for a file location. I was hoping something along the lines of the generic OS X save/open dialogue box.

Does anyone have any suggestions on how i could get something like that working?


Prompting User to Select File - OneSadCookie - Oct 2, 2005 12:10 AM

Read the NSOpenPanel docs. It's very straightforward.


Prompting User to Select File - hangt5 - Oct 2, 2005 12:24 AM

Hidden in plain site Blink


Prompting User to Select File - Taxxodium - Oct 2, 2005 01:21 AM

Depends which framework you are using: NSOpenDialog is for Cocoa, for Carbon you'll need to use something else, navigation services I believe, but I think that's old stuff.


Prompting User to Select File - OneSadCookie - Oct 2, 2005 02:15 AM

Nav Services the appropriate API for Carbon, but this thread is in the Cocoa forum Smile


Prompting User to Select File - unknown - Oct 2, 2005 02:20 AM

thanks, fixed it.
http://www.geocities.com/ed72678954/Tsu_Src.zip
Checkout the code for the Load menu item.


Prompting User to Select File - Steven - Oct 2, 2005 11:54 AM

Broken link, just FYI.