Subject: Re: CodeWarior 10 Q for NetBSD utility
To: Bill Studenmund <wrstuden@loki.stanford.edu>
From: Eric O'Connell <titan@gate.net>
List: port-mac68k
Date: 08/01/1998 20:21:57
>> Bill, i'd like to be able to help you out more, but i haven't done much mac
>> programming (any programming) recently.. i do know that the good way to do
>> it now is by using Navigation Services SDK, but i haven't even downloaded
>> it yet :)  the simple way is through the use of Standard File package..
>> SFGetFile() i think will do it, and it's quite easy to use.. i had some
>> sample code at one point but managed to delete my entire projects folder
>> while transferring it to a new drive :\  that put most of my projects on
>> hold as you could imagine.
>>
>> when in doubt check out inside mac (it's free & online) but you should be
>> able to figure it out from the headers ( i think i did).
>
>I can pull off a call to SFGetFile() w/o much problem (I'll just look
>at all the other NetBSD/MacOS utilities :-). But I was hoping to add
>those cute extras (the TEbox and thw two pop-up menus). Every time I
>tried to write the service routines for dialog boxes, they didn't work
>right. Thus the desire for code snippets. :-)
>
>SFGetFile() it probably will be. :-)

ah, well in that case you need to investigate SFGetFile hooks.. i *know*
there is some sample code on AOL (hey at least it has reasonably well
indexed file search ;)  the alternative is once again inside mac or a lucky
internet search.  if you go to cafe.ambrosiasw.com you will find a good
collection of mac source code, and probably somethign to do exactly what
you want, it's a good resource.

if you don't see anything let me know and i take a stab at it, but i've
never really done anything with the file manager.. :)

eric o'connell