-----------------------------------------------------------

New Message on cochindotnet

-----------------------------------------------------------
From: spark
Message 7 in Discussion

Thanks thats nifty. The only issue is that the text shows up as the next prompt entry. 
I am wondering is there is someway I could push the text in need directly into the 
message pump of cmd.exe, that way, any possible focus issues could also be removed.   
Thanks a lot once again (esp for making is general purpose, with the alt and stuff)   
Writing a small function around the SendKeypress, could make it a general useful 
routine for others.   void ConsoleSendString(char * str)
{
 while(*str) SendKeypress(*str++);
}
 You can call console send string to make things run on your console ;) Also for other 
folk, if you are wondering how to compile the above code, you need to say: cl 
source.cpp /link user32.lib   cheers Roshan      

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/cochindotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to