using UnregisterHotKey() and RegisterHotKey()
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I am working at a IE plugin. I am using RegisterHotKey() function to set some hotkeys for the plugin (CTRL-C, CTRL-V,...). So, I define some system wide hotkeys. I want to unregister these hotkeys if the focus is on another window. I tried to use RegisterHotKey() on WM_SETFOCUS message and to use UnregisterHotKey()on WM_KILLFOCUS message in the window callback function. It didn't work. Any suggestions?
danginkgo