home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ftpbox!news.acns.nwu.edu!zaphod.mps.ohio-state.edu!sample.eng.ohio-state.edu!purdue!haven.umd.edu!darwin.sura.net!newsserver.jvnc.net!gmd.de!Germany.EU.net!mcsun!julienas!sophia!xihu.inria.fr!gchow
- From: gchow@xihu.inria.fr (Gloria Chow)
- Newsgroups: comp.windows.open-look
- Subject: HELP : Display and xv internal variables are out of sync
- Keywords: PANEL_LIST, display problem
- Message-ID: <39631@sophia.inria.fr>
- Date: 27 Jan 93 16:29:26 GMT
- Sender: news@sophia.inria.fr
- Organization: INRIA, Sophia-Antipolis (Fr)
- Lines: 20
-
- I am trying to use (note: the operative word here is "TRYING") the
- scrolling lists feature in OPEN LOOK, and I simply couldn't figure
- out why my display gets out of sync with the internal list string
- values. What I mean is that, I can do an xv-get on the item, and
- it returns the proper string, but that's not what gets displayed!!
-
- So, right now, I have a line like this to force the display back
- in sync :
-
- xv_set( file_list, PANEL_LIST_STRING, 0,
- (char *) xv_get( file_list, PANEL_LIST_STRING, 0),
- NULL );
-
- I have heard of the infamous "i=i" bug fix before, just not too sure
- I want to be known as the one who put it in this time...
-
- So needless to say, I would like to get around this problem.
- Any idea, what I could have done wrong there??
-
- Gloria
-