Skip to content

Instantly share code, notes, and snippets.

@DavidBevi
DavidBevi / LV_SetImageToAnyCol.ahk
Last active November 29, 2024 13:40 — forked from hoppfrosch/LV_SetSI.ahk
ListView: Icons in more than first column example #ahkv2 #function
; This is the short version, refer to the one in LV_SetImageToAnyCol_Demo.ahk
; for the extended version (better documentation, same function)
;FUNCTION-DEFINITION-----------------------------------------------------------------;
/**
* @example LV_SetImageToAnyCol(MyListView, 1, 2, 3) ;Row 1, Col 2, Img 3
* @important Requires `+LV0x2` style applied to the ListView.
* @tip Use either the ListView (`Gui.Control`) or its HWND (`Integer`).
*