problem hooking physical keys on HTC HD
im trying to hook the volume up and down keys using the SetWindowsHook API.
im having some problems with getting the vk codes of the keys, on a couple of different states on the machine:
1. when I try to get the code when the camera window is up - i get a same code for volume up and down.
2. when i try to do the same with camera windows is not up - i get a different code for each button and different then the event i got in section 1.
does anybody has a solution for me?