Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!rutgers!mcnc!beguine!Paul.Quane From: Paul.Quane@samba.acs.unc.edu (BBS Account) Newsgroups: comp.windows.x.motif Subject: Various problems Keywords: FileSelectionBox XtAddInput PACK_TIGHT Message-ID: <726@beguine.UUCP> Date: 6 Aug 90 21:27:56 GMT Sender: usenet@beguine.UUCP Lines: 32 I am a novice user of motif ( 'swell as USENET) about to take an advantage of this excellent forum in the hope of getting some help with my problems. I use motif 1.0 (R3) on HP9000/300 1/ I Read the discussion on The FileSelectionBox bugs with interest. The fixes suggested are good if you have the source or 1.1 but what about me ?!! A further problem I had with FSB was when I tried to add my own search procedure in order to have simple file names with no paths ( don't tell me, there's an easy way?! ). Anyhow after calling DoSearch and managing the dialog the list had a missing last entry and a corrupted looking 2nd last. The Last entry should have been a recently added file to the directory to which the dirmask pointed. The corruption sorts itself out when the selection bar is moved over the list item. Any Ideas ? 2/ I have tried using XtAppAddInput with the XtInputReadMask. The callback procedure was called every time round XtMainLoop, not just when Input was pending on the file. Why doesn't it work as described. What am I doing wrong? ( I opened the file with open ) 3/ I have a row/column child of a bulletin board with about 20 VERTICAL oriented children, some of which appear off the end of the screen. I have an aversion to hardcoding(even in resource defaults files) dimensions for widgets. Isn't that the job of the window manager - to optimize the display resource for best display of client windows ? Is this the only way to prevent the children at the end from being off the screen? The guide suggests that wrapping occurs to the next column when "there is no more room left" for another item. When exactly is "no more room" ? any input will be appreciated. thanks for your help in advance e-mail please to Paul.Quane@samba.acs.unc.edu Paul Quane (919) 549 5154