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

Method update

tableviewcolumn.go:426–440  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

424}
425
426func (tvc *TableViewColumn) update() error {
427 if tvc.tv == nil || !tvc.visible {
428 return nil
429 }
430
431 lvc := tvc.getLVCOLUMN()
432
433 if win.FALSE == tvc.sendMessage(win.LVM_SETCOLUMN, uintptr(tvc.indexInListView()), uintptr(unsafe.Pointer(lvc))) {
434 return newError("LVM_SETCOLUMN")
435 }
436
437 tvc.tv.updateLVSizes()
438
439 return nil
440}
441
442func (tvc *TableViewColumn) getLVCOLUMN() *win.LVCOLUMN {
443 var lvc win.LVCOLUMN

Callers 4

SetAlignmentMethod · 0.95
SetTitleMethod · 0.95
SetTitleOverrideMethod · 0.95
SetWidthMethod · 0.95

Calls 5

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

Tested by

no test coverage detected