Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!uwm.edu!bionet!agate!ucbvax!alfalfa.com!nazgul From: nazgul@alfalfa.com (Information Junkie) Newsgroups: comp.windows.x.motif Subject: Re: XmMessageBox question, Motif 1.1 Message-ID: <910405052346.3057@sun> Date: 5 Apr 91 10:23:46 GMT References: Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 22 > > > I'm using Motif 1.1 (x11r4, sun4.) I want a XmMessageBox with > one or two more pushbuttons, in addition to the standard "ok", > "cancel" and "help" buttons. Is there some (possibly > undocumented) way of adding buttons to an XmMessageBox widget, or > must I duplicate the behavior of XmMessageBox with component > widgets in order to get extra pushbuttons? Well, you can add one more by managing the Apply button. Otherwise you either need to put them elsewhere in the dialog (by using a SelectionBox with the prompt unmanaged) or do it yourself. If you're going to do it yourself you'll either want to do a bulletinboard and calculate positions, or use the table widget. Alfalfa Software, Inc. | Poste: The EMail for Unix nazgul@alfalfa.com | Send Anything... Anywhere 617/646-7703 (voice/fax) | info@alfalfa.com I'm not sure which upsets me more: that people are so unwilling to accept responsibility for their own actions, or that they are so eager to regulate everyone else's.