home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / windows / openloo / 5184 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.3 KB

  1. 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
  2. From: gchow@xihu.inria.fr (Gloria Chow)
  3. Newsgroups: comp.windows.open-look
  4. Subject: HELP : Display and xv internal variables are out of sync
  5. Keywords: PANEL_LIST, display problem
  6. Message-ID: <39631@sophia.inria.fr>
  7. Date: 27 Jan 93 16:29:26 GMT
  8. Sender: news@sophia.inria.fr
  9. Organization: INRIA, Sophia-Antipolis (Fr)
  10. Lines: 20
  11.  
  12. I am trying to use (note: the operative word here is "TRYING") the 
  13. scrolling lists feature in OPEN LOOK, and I simply couldn't figure 
  14. out why my display gets out of sync with the internal list string 
  15. values.  What I mean is that, I can do an xv-get on the item, and 
  16. it returns the proper string, but that's not what gets displayed!!
  17.  
  18. So, right now, I have a line like this to force the display back 
  19. in sync :
  20.  
  21.     xv_set( file_list, PANEL_LIST_STRING, 0,
  22.             (char *) xv_get( file_list, PANEL_LIST_STRING, 0),
  23.             NULL );
  24.  
  25. I have heard of the infamous "i=i" bug fix before, just not too sure 
  26. I want to be known as the one who put it in this time...
  27.  
  28. So needless to say, I would like to get around this problem.
  29. Any idea, what I could have done wrong there??  
  30.  
  31. Gloria
  32.