using[DllImport("user32", SetLastError = true)] [return: MarshalAs(UnmanagedType.Bool)] public static extern bool RegisterHotKey(IntPtr hwnd, int id, uint fsModifiers, uint vk); method, it's working fine on my application.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)