Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!lgc.com!cl From: cl@lgc.com (Cameron Laird) Newsgroups: comp.windows.x.motif Subject: Re: Is position n selected? Keywords: XmList, position, selected Message-ID: <1991Apr19.162906.26854@lgc.com> Date: 19 Apr 91 16:29:06 GMT References: <1991Apr18.212904.21529@lgc.com> <1991Apr18.150819@wsl.dec.com> <1991Apr19.150134.22593@lgc.com> Sender: usenet@lgc.com Organization: Landmark Graphics Corp., Houston, Tx Lines: 31 Nntp-Posting-Host: forest.lgc.com In article <1991Apr19.150134.22593@lgc.com> cl@lgc.com (Cameron Laird) writes: >In article <1991Apr18.150819@wsl.dec.com> klee@wsl.dec.com writes: >>In article <1991Apr18.212904.21529@lgc.com>, cl@lgc.com (Cameron Laird) writes: >>|> My question: how do I write >>|> BOOL XmListPosSelected_p(listWidget, position) >>|> Widget listWidget; >>|> int position; >>|> { >>|> /* The entry is selected ... */ >>|> if (...) >>|> return TRUE; >>|> else >>|> return FALSE; >>|> } . . . >2. XmListGetSelectedPos(): this is EXACTLY > what I was seeking! What does it mean that > it was so hard for me to find it in the re- > ferences I have? . . . I answer my own question: what it means is that I still have a poor grasp of the differences between 1.0 and 1.1. Sorry for the waste of bandwidth, folks. -- Cameron Laird +1 713-579-4613 cl@lgc.com (cl%lgc.com@uunet.uu.net) +1 713-996-8546