how can I get the integer value of INSERT from keyboard??
-
I am using:
RegisterHotKey(This->hwndOuter, ID_HOTKEY_COPY, MOD_CONTROL, value_of_INSERT); // hotkeys
to registry the CTRL-INSERT hotkey for copy text. I want to know the value_of_INSERT from the code above. I also want to use CTRL-PgUp, CTRL-PgDown, CTRL-End, CTRL-Home as hotkeys. How can I now these values?danginkgo
-
I am using:
RegisterHotKey(This->hwndOuter, ID_HOTKEY_COPY, MOD_CONTROL, value_of_INSERT); // hotkeys
to registry the CTRL-INSERT hotkey for copy text. I want to know the value_of_INSERT from the code above. I also want to use CTRL-PgUp, CTRL-PgDown, CTRL-End, CTRL-Home as hotkeys. How can I now these values?danginkgo
VK_INSERT, VK_PRIOR, VK_NEXT, VK_END, VK_HOME. Defined in Windows.h Also, look in MSDN. But why do you want to register system-wide hotkeys?
Cheers Steen. "Are you gonna check your makeup when you're done whining?" John Simmons, 05/31/2006 "Of course, the next day it automatically updates, and your quick'n'dirty patches cause the new binaries to segfault all over your linoleum. If only you'd had the source..." Shog, 10/18/2006 "One day I realized that sadness is just another word for not enough coffee" Wally, 10/18/2006
-
VK_INSERT, VK_PRIOR, VK_NEXT, VK_END, VK_HOME. Defined in Windows.h Also, look in MSDN. But why do you want to register system-wide hotkeys?
Cheers Steen. "Are you gonna check your makeup when you're done whining?" John Simmons, 05/31/2006 "Of course, the next day it automatically updates, and your quick'n'dirty patches cause the new binaries to segfault all over your linoleum. If only you'd had the source..." Shog, 10/18/2006 "One day I realized that sadness is just another word for not enough coffee" Wally, 10/18/2006
Thank you. That helped me much:) I am working at a IE plug-in and I had to use CTR-R, CTRL-H as hotkeys for the plug-in. These were also hotkeys for the browser. So I used RegisterHotKey and UnregisterHotKey. Is there another way that I can override or disable the browser's hotkeys while the plugin is used?
danginkgo
-
Thank you. That helped me much:) I am working at a IE plug-in and I had to use CTR-R, CTRL-H as hotkeys for the plug-in. These were also hotkeys for the browser. So I used RegisterHotKey and UnregisterHotKey. Is there another way that I can override or disable the browser's hotkeys while the plugin is used?
danginkgo
I have never worked with IE plugins, so I can't help you there.
Cheers Steen. "Are you gonna check your makeup when you're done whining?" John Simmons, 05/31/2006 "Of course, the next day it automatically updates, and your quick'n'dirty patches cause the new binaries to segfault all over your linoleum. If only you'd had the source..." Shog, 10/18/2006 "One day I realized that sadness is just another word for not enough coffee" Wally, 10/18/2006
-
I have never worked with IE plugins, so I can't help you there.
Cheers Steen. "Are you gonna check your makeup when you're done whining?" John Simmons, 05/31/2006 "Of course, the next day it automatically updates, and your quick'n'dirty patches cause the new binaries to segfault all over your linoleum. If only you'd had the source..." Shog, 10/18/2006 "One day I realized that sadness is just another word for not enough coffee" Wally, 10/18/2006