I am trying to make a simple application in c#, and I need to make the hotkeys work when Conquer window has focus. I have managed to make the hotkeys work globally in windows with
Code:
public class User32
{
[DllImport("user32.dll")]
public static extern bool RegisterHotKey(IntPtr hWnd,int id,int fsModifiers,int vlc);
[DllImport("user32.dll")]
public static extern bool UnregisterHotKey(IntPtr hWnd, int id);
}
If anyone can give me a link or something from where to start from I will be very thankful.
Thanks in advance.






