Yes that works, and will not break if Mark changes the tabber properties so they no longer include the hot tracking. :-)
I'll stick this in the code archives now. :-)
; Add to User32.decls: ; ; .lib "user32.dll" ; SetWindowLong%(hWnd%,Val%,Long%):"SetWindowLongA" ; GetWindowLong%(hWnd%,Val%):"GetWindowLongA" ; GetParent%(hwnd%) Function RemoveTabberHottrack(Gadget) Local hWnd% = QueryObject(Gadget, 1) hWnd = GetParent(hWnd) Local GWL_STYLE = -16 Local TCS_HOTTRACK = $40 Local NOT_TCS_HOTTRACK = -65 SetWindowLong(hWnd, GWL_STYLE, GetWindowLong(hWnd, GWL_STYLE) And NOT_TCS_HOTTRACK) End Function
I'll stick this in the code archives now. :-)