Open topic with navigation
WTSupported in traditional Synergy on Windows
function EAPPMOVE_METHOD, ^val a_x ,n a_y ,n
This function should return true (1), so that other return values may be used in the future. (n)
The pixel position in the x-direction. (n)
The pixel position in the y-direction. (n)
%EAPPMOVE_METHOD is a function that you write and name. The name of your function is registered with UI Toolkit using the E_METHOD subroutine.
UI Toolkit calls your %EAPPMOVE_METHOD function when the application window is moved.
The pixel coordinates a_x and a_y correspond to the position of the upper-left corner of the application window’s frame, relative to the entire screen.
Because Toolkit invokes this function as a direct callback, the code in this function should be kept to a minimum, and operations that could conflict with concurrent processing avoided. For example, any action causing the rebuilding of an input set (such as I_SETDEL) must be avoided because this would give the user the opportunity to create a fatal error condition in I_INPUT. Instead, use %M_SIGNAL to synchronize processing for all such cases.