- Sep 27, 2010
- 1
- 0
- 0
Hi experts,
does anyone know how to emulate a click on Volume control button on HTC Touch Pro2 programmatically?
Recently I'm using keybd_event() with VK_TVOLUMEUP/DOWN which works on most of HTC models, but not on Touch Pro2.
I can even set a hook and get the code (it's 0xED) generated when these buttons are clicked. But if I send this code nothing happens.
Is there any way of doing it 'properly' ?
does anyone know how to emulate a click on Volume control button on HTC Touch Pro2 programmatically?
Recently I'm using keybd_event() with VK_TVOLUMEUP/DOWN which works on most of HTC models, but not on Touch Pro2.
I can even set a hook and get the code (it's 0xED) generated when these buttons are clicked. But if I send this code nothing happens.
Is there any way of doing it 'properly' ?