سؤال

can I change some mouse properties like double click speed in:

system("control mouse");
هل كانت مفيدة؟

المحلول

Since you are trying to do this by launching control mouse I assume you are using windows. You will be better off using the Windows API call SystemParametersInfo and passing it SPI_SETDOUBLECLICKTIME to change the speed of the double click.

SystemParametersInfo(SPI_SETDOUBLECLICKTIME, delayValueInMS, NULL, 0); 
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top