I have never used an array so would not know where to start but![]()
This seems to be working fine![]()
As ever THANK YOU Mr RhinoBullCode:Private Sub Timer11_Timer() '================================== Dim Rec As RECT, Point As POINTAPI GetWindowRect Combo1.hwnd, Rec GetCursorPos Point If Point.X >= Rec.Left And Point.X <= Rec.Right And Point.Y >= Rec.Top And Point.Y <= Rec.Bottom Then 'MousePointer is over Combo1 End If GetWindowRect Combo24.hwnd, Rec GetCursorPos Point If Point.X >= Rec.Left And Point.X <= Rec.Right And Point.Y >= Rec.Top And Point.Y <= Rec.Bottom Then 'MousePointer is over Combo24 End If End Sub![]()




Reply With Quote