Welcome to Koda bug tracker!

At the moment you can post bugreports or suggestions anonymously. But registered users have some benefits: attaching files, commenting, voting, tracking tasks e.t.c.

Due some asshole started spamming tracker, now (at least for some time) it’s not allowed to create anonymous tasks. Sorry for unconvenience.

In edit fields you can use DokuWiki syntax for formatting.


FS#285 - Listview styles: some suggestions

Attached to Project: Koda
Opened by Chris Haslam (c.haslam) - Saturday, 21 May 2011, 08:22 GMT+3
Type Bug Report
Category Application
Status Unconfirmed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version Development
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


  1. Icon and SmallIcon views are available in AutoIt so LVS_ICON and LVS_SMALLICON should not be disabled. The points below assume the present situation: only List and Report view available. I have added to the doc “At this time, only Report and List views are available in Koda”.
  1. Koda can know that if if there are Columns, the view is Report else it is List. So until Icon and SmallIcon views are added, LVS_LIST and LVS_REPORT could be removed.
  1. With LVS_LIST checked, Koda generated BitOr($GUI_SS_DEF_LV,LVS_SMALLICON). It so happens that this has the same value as LVS_LIST – but untidy :-)
  1. LVS_COLUMNHEADERS only applies to Report style, so it should be disabled when LVS_LIST is checked
  1. Collection editor: if you enter only one row, no column header is created
  1. LVS_NOSORTHEADER should be removed from OI because it doesn’t work and AutoIt help says that double-click to sort rhas not been implemented.
  1. Multiple selection only works in Report view so LVS_SINGLESEL should be disabled in List view.
  1. Check LVS_SORTASCENDING and then check LVS_SORTDESCENDING: LVS_SORTASCENDING is still checked. Because mask is missing from styles.xml.
  1. LVS_AUTOARRANGE, LVS_ALIGNTOP and LVS_ALIGNLEFT are only intended for Icon and SmallIcon views, so should be removed.
  1. LVS_ALIGNTOP will not uncheck.
This task depends upon

Comment by Chris Haslam (c.haslam) - Saturday, 21 May 2011, 08:24 GMT+3

Sorry about the numbering of the points: I tried, but the blank lines added for clarity did me in!

Comment by Chris Haslam (c.haslam) - Friday, 15 July 2011, 22:33 GMT+3
Icon and SmallIcon views are available in AutoIt so LVS_ICON and LVS_SMALLICON should not be disabled.

AutoIt help says:

To create a ListView with Icon-, SmallIcon- or List-style just use after creation: GUICtrlSetStyle with the styles $LVS_ICON, $LVS_LIST or $LVS_SMALLICON.

$LVS_LIST works by just using $LVS_LIST as a Style in GuiCtrlCreateListView().

I have got LVS_ICON to work by calling GUICtrlSetStyle(-1,$LVS_ICON), but I have not found a way of getting LVS_SMALLICON to work.