4 ms·
The native way, which still works on Windows 10, is to call SystemParametersInfo() with SPI_SETACTIVEWINDOWTRACKING, SPI_SETACTIVEWNDTRKZORDER, and SPI_SETACTIV
by CUViper 11y ago
The native way, which still works on Windows 10, is to call SystemParametersInfo() with SPI_SETACTIVEWINDOWTRACKING, SPI_SETACTIVEWNDTRKZORDER, and SPI_SETACTIVEWNDTRKTIMEOUT, followed by a broadcast WM_SETTINGCHANGE message. See my MouseWinX tool I linked elsewhere if you want an example.