Xref: utzoo comp.windows.x:25926 comp.windows.x.motif:484 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mstan!jordan From: jordan@Morgan.COM (Jordan Hayes) Newsgroups: comp.windows.x,comp.windows.x.motif Subject: Re: Creating a Message Box Message-ID: <1511@s5.Morgan.COM> Date: 17 Aug 90 19:46:42 GMT References: <1990Aug16.025738.13408@media.uucp> <140782@sun.Eng.Sun.COM> Organization: Morgan Stanley, & Co., Inc. / New York City, NY Lines: 7 Actually, although Dan's suggestion is decent, i'd rather do it with the callback taking the action directly, rather than setting a local variable and doing your own main loop (what if you also have other input sources? why block them?). When the callback gets called, go open the file. /jordan