I tried SmartWindowRefresh() but it didn't help. I can't post the code, but I did try a standalone snippet to try to reproduce it, but I can't -- so it must be something in my event loop but I can't figure out what. So, has anyone experienced this before and if so, what did you discover was causing it? Thanks.
PS. Yes, I have the latest video drivers for my PC.


Here is the standalone snippet which does NOT show the lines, but it's pretty much the same as my problem code. That's why I can't work out why it's glitching with redraw lines.

Code: Select all
If OpenWindow(0, 0, 0, 700, 630, "SplitterGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
#Button1 = 0
#Button2 = 1
#Splitter = 2
ListIconGadget(#Button1, 0, 0, 0, 0, "", 100, #PB_ListIcon_FullRowSelect|#PB_ListIcon_GridLines)
AddGadgetColumn(#Button1, 1, "", 550)
For i=0 To 50
AddGadgetItem(#Button1,-1,Str(i)+#LF$+Str(i))
Next
EditorGadget(#Button2, 0, 0, 0, 0, #PB_Editor_ReadOnly)
SetGadgetAttribute(#Button2,#PB_Editor_WordWrap,1)
a$=GetHomeDirectory()+" "
For i=0 To 100
t$+a$
Next
SetGadgetText(#Button2, t$)
SplitterGadget(#Splitter, 5, 5, 680, 620, #Button1, #Button2, #PB_Splitter_Separator)
StickyWindow(0, #True)
Repeat
Until WaitWindowEvent(1) = #PB_Event_CloseWindow
EndIf