Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!att!tut.cis.ohio-state.edu!ucbvax!alphalpha.com!nazgul From: nazgul@alphalpha.com (Kee Hinckley) Newsgroups: comp.windows.x.motif Subject: Re: Dialog Box Actions Message-ID: <901216125512.7421@alphalpha> Date: 16 Dec 90 17:55:12 GMT References: <19.2768a262@idicl1.idi.battelle.org> Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 21 > Why does it take a trick to do this? I have been trying to build > my own dialog boxes with UIL that have the same behavior as the Motif > standards, and have had little luck. (The pushbuttons don't stretch correctly > and the nondefault buttons have the same height as the default button.) > I assumed I just hadn't stumbled on the the correct combination of parameters. > I will be very disappointed if I can't generate a "standard Motif like" dialog > box with UIL. Has anyone had any success with this? If so could you post > an example? Actually you probably can do it in UIL - I think the PD Table widget could handle the layout. But that probably wasn't the answer you were looking for. Besides which, you still have the problem of getting the translations for Return to work properly so that the correct button gets activated. I do all of my custom dialogs by creating a PromptDialog, unmanaging the stuff I don't want, and creating a Form or Table inside of it. UIL may be okay for laying out some widgets where you want them, but I've yet to see any Motif-based interface language or IDT that I could use to solve all of my interface needs. (Well, I suspect that the one with a builtin C interpreter could, but that's cheating, and besides which, I'm using C++ :-). -kee