Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!wuarchive!uwm.edu!linac!att!ucbvax!ferrari.nmc.ed.ray.com!smiles From: smiles@ferrari.nmc.ed.ray.com (Kevin Ruddy) Newsgroups: comp.windows.x.motif Subject: XmForm, XtWindow Message-ID: <9105241228.AA05798@ferrari.nmc.ed.ray.com> Date: 24 May 91 12:28:32 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 15 In my manual page entry for the XmForm widget, it says that XmNrightWidget (and left, top, and bottom) should be a Window, not a Widget. So I've been trying to use "XtWindow(widget)" in place of just "widget". But XtWindow just returns a zero. Is this because I've managed those widgets but haven't realized any of them yet? I have been setting my XmNrightAttachment to XmATTACH_WIDGET and the others are set to XmATTACH_FORM. The other widget in the form does the same thing but specifies XmNleftWidget and XmNleftAttachment (and the appropriate widget, or should I say, window). Does anyone have any clues? Thanks. Kevin Ruddy smiles@ferrari.nmc.ed.ray.com