How do I make the keyboard output to a specific window?
This is what I got so far does not work.
handle=FindWindow(NULL,"Name of Window In Task Bar");
//Not actual name of window.
if(EnableWindow(handle,TRUE)) //Sets the window to enabled.
cout<<"Enable window succeded"<<endl;
I need a certain window to recieve all inputs from the keyboard until program ends.