Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-lines From: asente@adobe.COM Newsgroups: comp.windows.x Subject: Re: Intrinsics or twm problem Message-ID: <9101242054.AA02532@baskerville.adobe.com> Date: 24 Jan 91 20:54:36 GMT References: <1991Jan24.153218.9647@cicb.fr> Sender: daemon@athena.mit.edu (Mr Background) Organization: Adobe Systems Inc. Lines: 16 >I don't know if the problem is from Intrinsics , twm or myself but the >following code doesn't run as expected : > > pop = XtVaCreatePopupShell("pop",wmShellWidgetClass,toplevel,XtNx,x-width, ... >When changing wmShellWidgetClass into transientShellWidgetClass the location is >correct (but i need the twm title bar). You should not be creating a wmShell widget; the wmShell class is internal to the Intrinsics. If you want a title bar, create a topLevelShell. If you want to bypass twm's default positioning rules for windows that have title bars, you have to negotiate that with twm. -paul asente asente@adobe.com ...decwrl!adobe!asente