(hwnd win.HWND, msg uint32, wp uintptr)
| 1885 | } |
| 1886 | |
| 1887 | func (tv *TableView) maybePublishFocusChanged(hwnd win.HWND, msg uint32, wp uintptr) { |
| 1888 | focused := msg == win.WM_SETFOCUS |
| 1889 | |
| 1890 | if focused != tv.focused && wp != uintptr(tv.hwndFrozenLV) && wp != uintptr(tv.hwndNormalLV) { |
| 1891 | tv.focused = focused |
| 1892 | tv.focusedChangedPublisher.Publish() |
| 1893 | } |
| 1894 | } |
| 1895 | |
| 1896 | func tableViewFrozenLVWndProc(hwnd win.HWND, msg uint32, wp, lp uintptr) uintptr { |
| 1897 | tv := (*TableView)(unsafe.Pointer(windowFromHandle(win.GetParent(hwnd)).AsWindowBase())) |
no test coverage detected