Пример #1
0
        private static void PrintFocusFollowsMouseSettings()
        {
            bool bEnabled;
            bool bZorderEnabled;
            int  uTimeout;

            Win32Interop.GetSystemParameter(YellowLab.Windows.Win32.Win32Interop.SPI_GETACTIVEWINDOWTRACKING, out bEnabled);
            Console.WriteLine("Enabled ==> " + bEnabled);

            Win32Interop.GetSystemParameter(YellowLab.Windows.Win32.Win32Interop.SPI_GETACTIVEWNDTRKZORDER, out bZorderEnabled);
            Console.WriteLine("Z-order enabled ==> " + bZorderEnabled);

            Win32Interop.GetSystemParameter(YellowLab.Windows.Win32.Win32Interop.SPI_GETACTIVEWNDTRKTIMEOUT, out uTimeout);
            Console.WriteLine("Timeout ==> " + uTimeout);
        }