Jump to content

GUICtrlCreateListView streaks


Recommended Posts

Every time I scroll in GUICtrlCreateListView, I get evenly spaced lines running horizontally across the listview lines...dividing the lines in half, or I get no horizontal lines. It will show like this until I click on the listview. Attached are images of what I mean. Is this normal?

I'm using the listview like this:

$ListView = GUICtrlCreateListView("", 10, 268, 580, 132,-1,$LVS_EX_FULLROWSELECT+$LVS_EX_GRIDLINES+$LVS_EX_TRACKSELECT)
    GUICtrlSetState($ListView,$GUI_HIDE)
    $hListView = GUICtrlGetHandle($ListView)
    GUICtrlSetFont($ListView, 12, 500, "")
    _GUICtrlListView_SetHoverTime($ListView, 1000)
    _GUICtrlListView_InsertColumn ($ListView, 0, "Station", 80)
    _GUICtrlListView_InsertColumn ($ListView, 1, "Address", 363)
    _GUICtrlListView_InsertColumn ($ListView, 2, "Run", 55)
    _GUICtrlListView_InsertColumn ($ListView, 3, "Date", 60)


    Dim $ListItems[UBound($Full_Station_List)][4]
    For $z = 0 To UBound($Full_Station_List) - 1
        $ListItems[$z][0] = $Full_Station_List[$z][0]
        $ListItems[$z][1] = $Full_Station_List[$z][3]
        $ListItems[$z][2] = $Full_Station_List[$z][4]
        $ListItems[$z][3] = StringReplace($Full_Station_List[$z][5], "2008/", "")
    Next
    _GUICtrlListView_AddArray ($ListView, $ListItems)

post-12133-1207872438_thumb.gif

post-12133-1207872489_thumb.gif

Edited by Champak
Link to comment
Share on other sites

OK thanks. Now here is the magic statement...this looks like a bug to me...correct me if I'm wrong. I don't know if it has been labeled as a bug, or what, but I have NEVER seen this problem before on ANY apps I use on any of my computers. So if it only appears here, with autoit, doesn't that mean it is a bug? Should I report it as that, or is this a known issue that for whatever reason cannot be fixed?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...