- Status Unconfirmed
- Percent Complete
- Task Type Bug Report
- Category Application
- Assigned To No-one
- Operating System All
- Severity Low
- Priority Very Low
- Reported Version Development
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#285 - Listview styles: some suggestions
- 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”.
- 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.
- 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
- LVS_COLUMNHEADERS only applies to Report style, so it should be disabled when LVS_LIST is checked
- Collection editor: if you enter only one row, no column header is created
- 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.
- Multiple selection only works in Report view so LVS_SINGLESEL should be disabled in List view.
- Check LVS_SORTASCENDING and then check LVS_SORTDESCENDING: LVS_SORTASCENDING is still checked. Because mask is missing from styles.xml.
- LVS_AUTOARRANGE, LVS_ALIGNTOP and LVS_ALIGNLEFT are only intended for Icon and SmallIcon views, so should be removed.
- LVS_ALIGNTOP will not uncheck.
Sorry about the numbering of the points: I tried, but the blank lines added for clarity did me in!
AutoIt help says:
$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.