Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!ut-emx!ibmchs!auschs!awdprime!kitty.austin.ibm.com!jon From: jon@kitty.austin.ibm.com (Werner) Newsgroups: comp.windows.x.motif Subject: Re: XmForm, XtWindow Message-ID: <7964@awdprime.UUCP> Date: 24 May 91 19:28:44 GMT References: <9105241228.AA05798@ferrari.nmc.ed.ray.com> Sender: news@awdprime.UUCP Lines: 24 In article <9105241228.AA05798@ferrari.nmc.ed.ray.com>, smiles@ferrari.nmc.ed.ray.com (Kevin Ruddy) writes: |> 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 You should be using the widget ID in place of the window ID. I've noticed that they are using window as the type but it should be widget. -- ______________________________________________________________________________ External: jon@innerdoor.austin.ibm.com 512-823-5156 Internal: jon@trident1.austin.ibm.com ********* These views are my views. I am not a number. *********