Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!bcm!dimacs.rutgers.edu!rutgers!netnews.upenn.edu!kings!lau From: lau@desci.wharton.upenn.edu (Yan K. Lau) Newsgroups: comp.windows.x.motif Subject: Getting the filename from a FileSelectionDialog? Message-ID: <36294@netnews.upenn.edu> Date: 25 Jan 91 01:55:20 GMT Sender: news@netnews.upenn.edu Distribution: na Organization: A Private Heaven Lines: 15 Originator: lau@kings I'm sure this is an easy question for everyone but I haven't been able to figure it out yet. How do you get the filename that the user picks or types from a FileSelectionDialog? For instance, after the user clicks on the "OK" button, I want to retrieve the name that was chosen. I have been able to set the XmNdirSpec using the XtSetValues but I haven't been able to retrieve it (as a XmString?) and change it back into array of char. Yan. -- )~ Yan K. Lau lau@kings.wharton.upenn.edu The Wharton School ~/~ -Sheenaphile- 128.91.11.233 University of Pennsylvania /\ God/Goddess/All that is -- the source of love, light and inspiration!