bungpeng Posted April 22, 2005 Posted April 22, 2005 I want to develop a tool, like a language input tool, which when user typing something in this tool, it will output something else to a textbox in other application. Can you understand me? Any idea to do this? TQ! Quote
mark007 Posted April 22, 2005 Posted April 22, 2005 Can't speak for anyone else but I don't really follow what you mean... Quote Please check the Knowledge Base before you post. "Computers are useless. They can only give you answers." - Pablo Picasso The Code Net
bungpeng Posted April 23, 2005 Author Posted April 23, 2005 For example, in english windows, I can't input other characters using my english keyboard. So when user want to input chinese characters to notepad, he need to open notepad and my application, then when they type "AAA" and press "Enter", it will output as chinese character to notepad. Mean I need to send character or string from my application to other application like notepad, ms word or any application with input field (textbox) Quote
mark007 Posted April 24, 2005 Posted April 24, 2005 Hmm, can't say I know much about possible .Net solutions here but you could use some API's e.g. FindWindow or enumerate windows to allow selection from a list to get the application handle and then use postmessage to send the characters to the application... Quote Please check the Knowledge Base before you post. "Computers are useless. They can only give you answers." - Pablo Picasso The Code Net
bungpeng Posted April 25, 2005 Author Posted April 25, 2005 Hmm' date=' can't say I know much about possible .Net solutions here but you could use some API's e.g. FindWindow or enumerate windows to allow selection from a list to get the application handle and then use postmessage to send the characters to the application...[/quote'] I think it is quite brief for me... If there any reference or online guidance for it? Thank you Quote
mark007 Posted April 25, 2005 Posted April 25, 2005 You want to check out http://www.mentalis.org and look at the api guide which gives documentation and examples for using Win32 API's. It also lists .Net functions that replace them where appropriate but this appears to be unoften. Quote Please check the Knowledge Base before you post. "Computers are useless. They can only give you answers." - Pablo Picasso The Code Net
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.