I tried keybd_event API function, but it doesn't work as expected! It can Not process Left or Right shift key correctly! This function only process Shift key. Take a look at this: http://msdn.microsoft.com/en-us/library/ms646304(VS.85).aspx
Windows NT/2000/XP/Vista:This function has been superseded. Use SendInput instead.
* VK_L* & VK_R* - left and right Alt, Ctrl and Shift virtual keys. * Used only as parameters to GetAsyncKeyState() and GetKeyState(). * No other API or message will distinguish left and right keys in this way. */
Now, Can anyone tell me how to send Left/Right Shift key?