DLL that allows you to output "from the keyboard"

QJimbo
05-01-2004, 03:25 PM
Does anyone here know of a DLL with a command that lets you output text to whatever the active program is, giving the illusion that the text is coming from the keyboard. I'm trying to write a program that outputs the currently playing song from winamp to any program :)

wakjah
05-01-2004, 04:17 PM
what exactly are you trying to do? print text to a window? your question is a bit vague

QJimbo
05-01-2004, 05:38 PM
Sorry, basically I want the program to "control the keyboard", so it can type stuff in any editable region in any program. It must be possible because how does VNC give someone else keyboard control of your computer.

wakjah
05-01-2004, 05:45 PM
then you have to get the hwnd of the window of the editable region and use the sendmessage api to put the text into it

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum