Create shortcut key ??
-
My App is running and I am typing words in NotePad.exe I want my App show a messagebox (such as "hello") (when I press Ctrl+Shift+H) when I using any program in Windows? which function to do this? thank you! :rose:
-
My App is running and I am typing words in NotePad.exe I want my App show a messagebox (such as "hello") (when I press Ctrl+Shift+H) when I using any program in Windows? which function to do this? thank you! :rose:
If you are using MFC. They have this Acceralator resource which is meant for this purpose. Sonork 100.41263:Anthony_Yio
-
My App is running and I am typing words in NotePad.exe I want my App show a messagebox (such as "hello") (when I press Ctrl+Shift+H) when I using any program in Windows? which function to do this? thank you! :rose:
Look at
SetWindowsHookEx(WH_KEYBOARD, ...)
for this.
Five birds are sitting on a fence. Three of them decide to fly off. How many are left?
-
My App is running and I am typing words in NotePad.exe I want my App show a messagebox (such as "hello") (when I press Ctrl+Shift+H) when I using any program in Windows? which function to do this? thank you! :rose:
Check the message WM_SETHOTKEY. I stumbled across this looking for something else so don't ask how to use it! :doh: Larry J. Siddens Cornerstone Communications TAME THE DOCUMENT MONSTER www.unifier.biz