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

Method destroy

tableviewcolumn.go:412–424  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

410}
411
412func (tvc *TableViewColumn) destroy() error {
413 width := tvc.Width()
414
415 if win.FALSE == tvc.sendMessage(win.LVM_DELETECOLUMN, uintptr(tvc.indexInListView()), 0) {
416 return newError("LVM_DELETECOLUMN")
417 }
418
419 tvc.width = width
420
421 tvc.tv.updateLVSizes()
422
423 return nil
424}
425
426func (tvc *TableViewColumn) update() error {
427 if tvc.tv == nil || !tvc.visible {

Callers 3

SetVisibleMethod · 0.95
SetFrozenMethod · 0.95
RemoveAtMethod · 0.80

Calls 5

WidthMethod · 0.95
sendMessageMethod · 0.95
indexInListViewMethod · 0.95
newErrorFunction · 0.85
updateLVSizesMethod · 0.80

Tested by

no test coverage detected