Path: utzoo!attcan!uunet!munnari!otc!metro!ipso!runx!clubmac From: clubmac@runx.ips.oz (Macintosh Users Group) Newsgroups: comp.sys.mac.programmer Subject: Re: SFGetFile prompt message Message-ID: <1551@runx.ips.oz> Date: 29 May 88 05:49:58 GMT References: <2992@imag.imag.fr> Reply-To: clubmac@runx.OZ (Macintosh Users Group - Sydney, Australia) Organization: RUNX Un*x Timeshare. Sydney, Australia. Lines: 22 In article <2992@imag.imag.fr> squatt@imag.imag.fr ( Le Toullec / Eq T.Muntean) writes: >Using LSC, and wanting a 'pretty' presentation, I try to used the prompt >field in SFGetFile call. >So I write SFGetFile(SFGWhere, CtoPStr("pretty message"),...,&SFReply), but >nothing occurs... >Does anybody knows where the fault is ? Yeah, I found this out when I was writing a program for Psychology researcher on his Macintosh. Since the users of the program would bexDxD subjects of the test, rather than an average Mac user, it needed to instruct the subject at most stages of the test. So, to get around the lack of a prompt string in SFGetFile, I simply inserted a dialog item into SFGetFile, via the SF dialog filter procedure. Thus I was simply doing what I expected SFGetFile to handle automatically. Jason Haines, President Club Mac - Australia's Largest Macintosh Users Group Phone Home: +61-2-73-1016 OZ Post: Box 213, Holme Building, Sydney University, NSW, 2006, Australia Internet: clubmac@runx.ips.oz.au UUCP: uunet!runx.ips.oz.au!clubmac