Translation attempt
Can I SendKeys to a form while the form does not have focus? If yes, can you show me an code example?
or,
Can I sendkeys while I am doing something else?
Sounds like a reasonable attempt at a translation. A lot of the time, I just don't have the time (or inclination) to try and work out what such a brief question means. We try to get people to post detailed, clear questions. This is not only for our own benefit, but that of anyone who comes searching for answers in the future.
Anyway, if it's the former question, then I would say "no". SendKeys does not send them
to anywhere in particular. It simply says to Windows "this key was pressed". What happens then is effectively what would have happened if you did actually press the key. In other words, whoever has the focus will receive it.
To send things to a particular application/window, I think you need to use the Windows SendMessage API functions.