Champak Posted April 11, 2008 Posted April 11, 2008 (edited) 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) Edited April 11, 2008 by Champak
smashly Posted April 11, 2008 Posted April 11, 2008 Hi, That's one of the windows effects settings that causes it. Look in Display Properties-> Appearance-> Effects and uncheck "Use the following transition effect for menus and tooltips:" Chhers
Champak Posted April 11, 2008 Author Posted April 11, 2008 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?
Siao Posted April 11, 2008 Posted April 11, 2008 http://www.autoitscript.com/forum/index.ph...mp;hl=gridlines "be smart, drink your wine"
Champak Posted April 11, 2008 Author Posted April 11, 2008 (edited) Anyone ever tell you that you are a bloody innovative genius...if not, let me be the first. Thanks. I hope this is built into the next version as default. Edited April 11, 2008 by Champak
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now