How to hook to a keystroke under Windows Vista?

A. Yes, of course b. Whatever is best for the rest of the program, assuming that it can call Windows APIs (or that such feature is builtin) and that the programmer knows how to intercept the message generated by RegisterHotKey c.

See the RegisterHotKey function Note that F10 is really a bad idea, since it's the default key to activate the main menu; I don't even think you can register it.

A. Yes, of course. B.

Whatever is best for the rest of the program, assuming that it can call Windows APIs (or that such feature is builtin) and that the programmer knows how to intercept the message generated by RegisterHotKey. C. See the RegisterHotKey function.

Note that F10 is really a bad idea, since it's the default key to activate the main menu; I don't even think you can register it.

Have a look at this Code Project article, I use this for an application I wrote, and works in Vista and Windows 7. The Hot key API won't allow you to register against default hot keys like Win+E, alt+F4 etc, but most other combination are accepted. The article is for the .

Net language 1.0 and up, but since it uses API calls, it can easily be modified for any mainstream language that can make Windows API calls, ie pretty much all of them.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions