Page 1 of 1

Canvas gadget sends MouseMove events constantly [Solved]

Posted: Tue Jul 25, 2017 5:16 pm
by Justin
If you let the cursor over the canvas gadget it sends the mouse move event constantly even if the cursor is not moving.
PB 5.60 64
Win7 64

Code: Select all

EnableExplicit

Define.i win, canvas

Procedure eventHandler()
	Debug "mm"
EndProcedure

win = OpenWindow(#PB_Any, 0, 0, 220, 220, "Test", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
  
canvas = CanvasGadget(#PB_Any, 10, 10, 200, 200)
BindGadgetEvent(canvas, @eventHandler(), #PB_EventType_MouseMove)

Repeat
	
Until WaitWindowEvent() = #PB_Event_CloseWindow

Re: Canvas gadget sends MouseMove events constantly

Posted: Tue Jul 25, 2017 5:20 pm
by STARGĂ…TE
can not confirm this bug report, I get only a message if I move my mouse

(PB 5.60 64, Win7 64)

Re: Canvas gadget sends MouseMove events constantly

Posted: Tue Jul 25, 2017 5:54 pm
by Bisonte
Not confirmed on Win10 x64.

Maybe you have a cellphone in the near of the mouse... or the mouse is damaged, or another strong
sender is in the near of your home... maybe a high voltage cable ....

Re: Canvas gadget sends MouseMove events constantly

Posted: Tue Jul 25, 2017 5:57 pm
by Justin
Strange, i am on a laptop i use the touchpad i will check it with a mouse.

Re: Canvas gadget sends MouseMove events constantly

Posted: Tue Jul 25, 2017 6:10 pm
by Justin
I plugged a mouse and still happened, but in another laptop didn't so it's a hardware issue.