[net.micro.mac] Standard mac functions in C?

br@wucs.UUCP (Bill Ross) (09/28/86)

    I've been doing some casual C programming on my mac and am sometimes
overwhelmed by the amount of work necessary to use the toolbox routines to
open a window, set up menus etc...  Does any one have a set of stock routines
written in C to use the toolbox?  For example, I would like a routine which
I could call (let's call it   FILE *promptopen() ) which would prompt a
user for which file to open using a nice window with scroll bars and such.
Having a library like this would make life so much easier!  Please respond 
with mail....

-- 

Bill Ross 	Washington University ECL,  St. Louis 314-889-4794
UUCP:		br@wucs.UUCP  or  ..!{ihnp4,seismo}!wucs!br
ARPANET:	wucs!br@seismo.ARPA
CSNET:		wucs!br@seismo.ARPA%csnet-relay

dubois@uwmacc.UUCP (Paul DuBois) (09/29/86)

>     I've been doing some casual C programming on my mac and am sometimes
> overwhelmed by the amount of work necessary to use the toolbox routines to
> open a window, set up menus etc...  Does any one have a set of stock routines
> written in C to use the toolbox?  For example, I would like a routine which
> I could call (let's call it   FILE *promptopen() ) which would prompt a
> user for which file to open using a nice window with scroll bars and such.
> Having a library like this would make life so much easier!  Please respond 
> with mail....

I believe it's called SFGetFile...
-- 
Paul DuBois     UUCP: {allegra,ihnp4,seismo}!uwvax!uwmacc!dubois    |
                ARPA: dubois@easter                               --+--
                      dubois@rhesus (no kidding)                    |
                                                                    |
"If it works, I didn't write it."
"That's for sure!"