<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2614.3500" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV align=left><FONT face=Arial size=2>Hai friends,<BR></FONT></DIV>
<DIV align=justify><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; I successfully ran 
a script manager(keyboard Manager/driver) developed for windows (using VC++) in 
Linux using wine.&nbsp; Its working in the wordpad application called using 
wine.</FONT><FONT face=Arial size=2>I want to make it work in Linux 
editors.</FONT></DIV>
<DIV align=justify><FONT face=Arial size=2><BR>&nbsp;The technical details about 
the working of the keyboard driver is as follows.<BR>&nbsp;1) The keyboard 
driver is a keyboard hooker program. The keyboard driver will trap all the 
keystrokes from the keyboard and&nbsp; convert the Ascii value to the 
appropriate native language Character code.<BR>&nbsp;2) First we have to get the 
handle of the window/control where the cursor is currently located, for that the 
GetFocus API is used.<BR>&nbsp;3) Virtual-key code of the key that generated the 
keystroke message is converted to appropriate another code for making the 
keyboard Inscript or phonetic and send using Postmessage API.<BR>&nbsp;<BR>I 
have some doubts. Do these APIs written for&nbsp; windows work in linux. In 
linux , How could i get the handle of&nbsp; the window where the cursor is 
currently located. What are the changes that i should make in the source code to 
make it work for linux&nbsp;editors. <BR>Looking for your suggessions. Thanks in 
advance 
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;  
Saravanan </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</FONT></DIV><BR><PRE>

______________________________________
Scanned and protected by Email scanner
</pre><BR></BODY></HTML>