HI! I'd like to use Hot key control (HOTKEY_CLASS). I call function SendMessage to obtain hotkey -
Then i want to register this hot key -Code:DWORD dw = SendMessage(hHKwnd, HKM_GETHOTKEY, 0, 0);
And when I receive WM_HOTKEY message nothing happens. I think i don't use correctly dw variable.Code:RegisterHotKey(hWnd, 0, HIWORD(dw), LOWORD(dw));
Tell me, please, where is my mistake.