Path: utzoo!attcan!uunet!husc6!mailrus!ames!pasteur!ucbvax!decwrl!nsc!voder!apple!darin From: darin@Apple.COM (Darin Adler) Newsgroups: comp.sys.mac.programmer Subject: Re: SFGetFile prompt message Keywords: SFGetFile prompt Message-ID: <10993@apple.Apple.Com> Date: 25 May 88 05:11:29 GMT References: <2992@imag.imag.fr> Reply-To: darin@apple.UUCP (Darin Adler) Organization: Apple Lines: 14 In article <2992@imag.imag.fr> squatt@imag.imag.fr ( Le Toullec / Eq T.Muntean) writes: > ... I try to used the prompt field in SFGetFile call. > So I write SFGetFile(SFGWhere, CtoPStr("pretty message"),...,&SFReply), but > nothing occurs... The prompt in the SFGetFile call is a "historical" feature. The prompt field (a statText dialog item) is not visible in the standard SFGetFile dialog. Using the SFPGetFile call, and a custom dialog, you can use the prompt feature if you wish, but in this case you can add custom text of your own directly to the dialog instead, which I think is nicer (the text is in the resource, rather than in your code). -- Darin Adler AppleLink: Adler4 UUCP: {sun,voder,nsc,mtxinu,dual}!apple!darin CSNET: darin@Apple.com