Simulate input/Mouse: Difference between revisions
Content added Content deleted
m (→{{header|Phix}}: added syntax colouring, marked p2js incompatible) |
|||
Line 178: | Line 178: | ||
# Wrap win32 API function mouse_event() from the User32 dll. |
# Wrap win32 API function mouse_event() from the User32 dll. |
||
function mouse_event_wrapper(dwFlags,dx,dy,dwData,dwExtraInfo) |
function mouse_event_wrapper(dwFlags,dx,dy,dwData,dwExtraInfo) |
||
ccall((:mouse_event, "User32"),stdcall, |
ccall((:mouse_event, "User32"),stdcall,Nothing,(UInt32,UInt32,UInt32,UInt32,UInt),dwFlags,dx,dy,dwData,dwExtraInfo) |
||
end |
end |
||