help me with Virtual Keys!!!

cgillopez

New member
Joined
Jun 5, 2008
Messages
3
Programming Experience
Beginner
Hi,

im trying to program a keyboard that only can be clicked by the mouse. i have a problem with virtual keys (VK_RIGTH, VK_LEFT, control, delete and tab).

i read for example, tab is ansi 9 (CharCode=9) but it doesnt work..
PostMessage(GetFocus(), WindowsMessages.WM_CHAR, CharCode, 1)

and i put the vk buttons as follows:
PostMessage(GetFocus(), WindowsMessages.WM_KEYUP, 37, 1)

but it doesnt work too...

what is wrong???

Thanks for your help!!
 
Back
Top