Detected 4 occurrence(s) of ‘GetAsyncKeyState\(‘: m) { if (m.Msg == 0x0312 && m.WParam.ToInt32() == MYACTION_HOTKEY_ID && (GetAsyncKeyState(Keys.D1) == -32767)) { Console.Write("alt+1"); } if (m.Msg == 0x0312 && m.WParam.ToInt32() == MYACTION_HOTKEY_ID && (GetAsyncKeyState(Keys.D2) == -32767)) { Console.Write("alt+2"); } base.WndProc(ref m); } public partial class Form1 : Form { private const int WM_HOTKEY = 0x0312; private const […]
↧