SHIFT+F3
-
Depends on the program. Are you using a window? If so, then when you get key up/down (which ever is more appropriate) event for F3, use the following code to test if the shift key is up or down:
if (GetKeyState(VK_SHIFT) < 0) /*do stuff*/;
Notes: VK_SHIFT is equal to 16. The test is to see if the high order bit is set. There are other ways of doing this, but you need to give more information so that we can determine what would work best.
-
If it were to be done system-wide, you'll need to install a keyboard hook. But you *do* have to provide more details. Please read the how to get an answer to your question sticky on top of the first page of this forum.
“Follow your bliss.” – Joseph Campbell
-
If it were to be done system-wide, you'll need to install a keyboard hook. But you *do* have to provide more details. Please read the how to get an answer to your question sticky on top of the first page of this forum.
“Follow your bliss.” – Joseph Campbell
For a system wide hot key he can also use RegisterHotKey[^].
> The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <
-
For a system wide hot key he can also use RegisterHotKey[^].
> The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <
Thanks, but I'm not the one who needs to know it. It may have helped if you had replied to the OP.
“Follow your bliss.” – Joseph Campbell
-
Thanks, but I'm not the one who needs to know it. It may have helped if you had replied to the OP.
“Follow your bliss.” – Joseph Campbell
Oups, sorry, yeah, i even wanted to do that but by the time i submitted it to you i completely forgot about it. Thanks for reminding me. :thumbsup:
> The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <
-
For a system-wide hotkey you can use RegisterHotKey[^].
> The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <