Xref: utzoo comp.windows.x:25822 comp.windows.x.motif:451 Path: utzoo!attcan!uunet!cos!hqda-ai!media!arthur From: arthur@media.uucp (Art Poley) Newsgroups: comp.windows.x,comp.windows.x.motif Subject: Creating a Message Box Message-ID: <1990Aug16.025738.13408@media.uucp> Date: 16 Aug 90 02:57:38 GMT Organization: Media Cybernetics, Inc. Lines: 22 Can anyone show me exactly how one goes about creating a message box under Motif that will not allow an application to continue until the user replies? I'm trying to display some message to a user that must be acknowledged before the underlying application resumes processing. For example displaying a message such as, "File already exists. Overwrite existing file?" To which the user may reply Yes or No. At this point the application must wait for the user to reply before continuing with the operation. I've looked into Message Boxes and the various variations that are offered, but don't know how to wait for a reply. I'd prefer not to set the sensitivity of the application to False while awaiting a reply. I have also looked into Popup shells and working with the Grab settings, but to no avail. Any help that you can offer in this matter would be much appreciated. Thanks ahead of time. - Art - -- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Art Poley - Media Cybernetics Phone: (301)495-3305 Internet: arthur%media@uunet.uu.net UUCP: {uunet,hqda-ai}!media!arthur ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++