engstrom@SRC.Honeywell.COM (Eric Engstrom) (06/27/91)
I've got two unrelated questions: 1) I recently saw a statement on this newsgroup which talked about turning off the "refresh" of a PANEL_LIST so you could insert/delete/change items without flicker. The solution posted was: xv_set(aList, PANEL_PAINT, PANEL_NONE, NULL); /* inesert/delete/change list items in "aList" */ xv_set(aList, PANEL_PAINT, PANEL_CLEAR, NULL); I've tried this, but no luck. Same old filcker... 2) I've got a tty_sw that won't echo characters typed in the window. Output to the window is fine; input is ok too, except I can't see what I type. If anyone has any ideas, or needs more info, I'd appreciate it. Eric +--------- Eric Engstrom, Honeywell SRC | The verb form of 'committee' Inter: engstrom@src.honeywell.com | is 'commit', as in UUCP: {umn-cs,ems,bthpyd}!srcsip!engstrom | "the committe was committed MAIL: 3660 Technology Drive, Mpls, MN | to the Anoka Mental Hospital."
ed@Canada.Sun.COM (Edward Lycklama - KL Group Inc.) (06/28/91)
> > > 1) I recently saw a statement on this newsgroup which talked about turning > off the "refresh" of a PANEL_LIST so you could insert/delete/change items > without flicker. The solution posted was: > > xv_set(aList, PANEL_PAINT, PANEL_NONE, NULL); > > /* inesert/delete/change list items in "aList" */ > > xv_set(aList, PANEL_PAINT, PANEL_CLEAR, NULL); > > I've tried this, but no luck. Same old filcker... > In order to get this to work, you have to set PANEL_PAINT to PANEL_NONE for *every* insertion and deletion you make to the list; when you're done, set PANEL_PAINT to PANEL_CLEAR. Ed Lycklama KL Group Inc. | Phone: (416) 594-1026 Ext. 24 134 Adelaide St. E, Suite 204 | Fax: (416) 594-1919 Toronto, Ontario, M5C 1K9 | UUCP: sun!suncan!klg!ed CANADA