🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.windows.open-look
1 messages
1 total messages Started by Gloria Chow Wed, 27 Jan 1993 16:29
HELP : Display and xv internal variables are out of sync
#2815
Author: Gloria Chow
Date: Wed, 27 Jan 1993 16:29
20 lines
1365 bytes
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads