MCPcopy
hub / github.com/lxn/walk / redrawItems

Method redrawItems

tableview.go:671–676  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

669}
670
671func (tv *TableView) redrawItems() {
672 first := win.SendMessage(tv.hwndNormalLV, win.LVM_GETTOPINDEX, 0, 0)
673 last := first + win.SendMessage(tv.hwndNormalLV, win.LVM_GETCOUNTPERPAGE, 0, 0) + 1
674 win.SendMessage(tv.hwndFrozenLV, win.LVM_REDRAWITEMS, first, last)
675 win.SendMessage(tv.hwndNormalLV, win.LVM_REDRAWITEMS, first, last)
676}
677
678// UpdateItem ensures the item at index will be redrawn.
679//

Callers 2

attachModelMethod · 0.95
WndProcMethod · 0.95

Calls 1

SendMessageMethod · 0.65

Tested by

no test coverage detected