Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

[WD20] WM_MouseMove Event (2 replies)

$
0
0
Has anyone ever got an Event() with WM_MouseMove(512) to work correctly? I use the following code on a simple window with only a few controls. The trace hits constantly as long as my mouse cursor is inside the window even when it's not moving. I want TempProcedure() to run only when the mouse is moved inside the window.

nMoveEvent is int = Event(TempProcedure, "*.*", WM_MOUSEMOVE)

PROCEDURE TempProcedure()
  Trace("mouse moved")

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>