Happy New Year!
The event of hovering the mouse cursor over the window can be handled using the code block :bMMoved. How can the cursor move event be handled outside the window?
Happy New Year!
The event of hovering the mouse cursor over the window can be handled using the code block :bMMoved. How can the cursor move event be handled outside the window?
Dear Yuri,
In that case you have to capture the mouse so the mouse events keep geeting routed to the window:
SetCapture( oWnd:hWnd )
To finally release it:
ReleaseCapture()
Antonio, thank you for your reply!
However, I did not understand how to use SetCapture/ReleaseCapture to find out that the mouse cursor has gone beyond the outline of the window. :(
oWnd:bMMoved = { | nRow, nCol, nFlags | IsOverWnd( oWnd:hWnd, nRow, nCol ) }
oWnd:Capture()