(msg uint32, wp, lp uintptr)
| 467 | } |
| 468 | |
| 469 | func (tvc *TableViewColumn) sendMessage(msg uint32, wp, lp uintptr) uintptr { |
| 470 | if tvc.tv == nil { |
| 471 | return 0 |
| 472 | } |
| 473 | |
| 474 | tvc.tv.hasFrozenColumn = tvc.tv.visibleFrozenColumnCount() > 0 |
| 475 | tvc.tv.SetCheckBoxes(tvc.tv.CheckBoxes()) |
| 476 | tvc.tv.applyImageList() |
| 477 | |
| 478 | var hwnd win.HWND |
| 479 | if tvc.frozen { |
| 480 | hwnd = tvc.tv.hwndFrozenLV |
| 481 | } else { |
| 482 | hwnd = tvc.tv.hwndNormalLV |
| 483 | } |
| 484 | |
| 485 | return win.SendMessage(hwnd, msg, wp, lp) |
| 486 | } |
no test coverage detected