MCPcopy Index your code
hub / github.com/lxn/walk / applyImageListForImage

Method applyImageListForImage

tableview.go:1854–1861  ·  view source on GitHub ↗
(image interface{})

Source from the content-addressed store, hash-verified

1852}
1853
1854func (tv *TableView) applyImageListForImage(image interface{}) {
1855 tv.hIml, tv.usingSysIml, _ = imageListForImage(image, tv.DPI())
1856
1857 tv.applyImageList()
1858
1859 tv.imageUintptr2Index = make(map[uintptr]int32)
1860 tv.filePath2IconIndex = make(map[string]int32)
1861}
1862
1863func (tv *TableView) applyImageList() {
1864 win.SendMessage(tv.hwndFrozenLV, win.LVM_SETIMAGELIST, win.LVSIL_SMALL, uintptr(tv.hIml))

Callers 2

ApplyDPIMethod · 0.95
lvWndProcMethod · 0.95

Calls 3

applyImageListMethod · 0.95
imageListForImageFunction · 0.85
DPIMethod · 0.65

Tested by

no test coverage detected