Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!cernvax!chx400!ugun2b!ugun2a!paccini From: paccini@uni2a.unige.ch Newsgroups: comp.windows.open-look Subject: Re: Help! with scrolling lists and xv_create Message-ID: <1991May29.114758.966@uni2a.unige.ch> Date: 29 May 91 09:47:58 GMT References: <1991May24.211132.10282@cci632.cci.com> <14063@exodus.Eng.Sun.COM> Followup-To: comp.windows.open-look Organization: University of Geneva, Switzerland Lines: 22 In article , nicolas@bmsr9.usc.edu (Nicolas Rouquette) writes: > > In article <14063@exodus.Eng.Sun.COM> brentb@montagne.Eng.Sun.COM (Brent Browning) writes: > > Can someone post a an example of code to use PANEL_LIST_INSERT & > PANEL_LIST_DELETE? There are two problems: 1) intense flashing > and 2) after using PANEL_LIST_DELETE in descending order as suggested > in O'Reilly, I get bus errors. A simple way to avoid the flashing is to hide the panel list by using the XV_SHOW attribute: xv_set( panel, XV_SHOW, FALSE, NULL); xv_set( panel, XV_SHOW, TRUE, NULL); This works pretty well with OW 2.0 and gives a very clean behaviour. ------------------------------------------------------------------------------ Jean-Francois Paccini paccini@cui.unige.ch University of Geneva Switzerland