Newsgroups: comp.sys.mac.programmer
Path: utzoo!utgpu!topix
From: topix@gpu.utcs.utoronto.ca (R. Munroe)
Subject: Pop-ups in SFFGetFile + SFFPutFile - How?
Message-ID: <1990Oct5.025518.18973@gpu.utcs.utoronto.ca>
Keywords: Pop-Ups, Standard File
Organization: UTCS Public Access
Date: Fri, 5 Oct 90 02:55:18 GMT


Anyone had any experience adding pop-up menus to a get file or put file
procedure?  For example, programs like PhotoShop and most word processing
packages have an Open As ... and Save As ... choice in the file menu.
When you choose Open As ... or Save As ... you get a fairly standard 
looking SFGetFile or SFPutFile dialog.  The difference is that there is
a pop-up that lets you select file formats.  How is that done?  Is it a
simple process or do you have to spend a good month or two coding it into
your application?  Any pointers to example code would be greatly appreciated.
(BTW: I am familiar with how to add pop-ups to the menu.  I am 
specifically hoping to get my hands on source that deals with pop-ups
in dialogs).

One more thing - in PhotoShop, when you choose Open from the file menu you
again get a standard looking SFGetFile.  However, if you hilite a file in the
list the file's format (type) is displayed.  That is tres cool.  Any ideas
how it's done?

Thanks for any help.

Bob Munroe
topix@utcs.utoronto.ca




