I want to use the SendInput function to simulate a keystroke ( in this case the key is "1" normal, not the pad ). Well... some ppl will say "use the keyb_event" but i want to know how to use SendInput on Delphi ! :) and.. this is que question. How to simulate a keypress using the SendInput function ? Please, i really need to know all steps including the KEYBDINPUT and INPUT members of SendInput.