<!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> I successfully ran
a script manager(keyboard Manager/driver) developed for windows (using VC++) in
Linux using wine. 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> The technical details about
the working of the keyboard driver is as follows.<BR> 1) The keyboard
driver is a keyboard hooker program. The keyboard driver will trap all the
keystrokes from the keyboard and convert the Ascii value to the
appropriate native language Character code.<BR> 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> 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> <BR>I
have some doubts. Do these APIs written for windows work in linux. In
linux , How could i get the handle of 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 editors. <BR>Looking for your suggessions. Thanks in
advance
<BR>
</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>
Saravanan </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>
</FONT></DIV><BR><PRE>
______________________________________
Scanned and protected by Email scanner
</pre><BR></BODY></HTML>