Hi Mark,

   Thanks for  your response...
   While I peek the event using XPeekEvent, the only event available is 
KeyRelease, because, we can enter into the Xlookupstring function, only after
the KeyPress happens, so in the queue, the available event is KeyRelease only.

I want a KeyPress event to add in the EventQueue, So, I asked, how to generate
the KeyPress event, (through anyother way, like XSendEvent etc..  I dont know
how to generate that KeyPress event).

  

On Yesterday [EMAIL PROTECTED] wrote to Vivek :

MV:}On Thu, 6 Jun 2002, Viveka Nathan K wrote:
MV:}
MV:}> 
MV:}> How can I get a KeyPress event through, the 
MV:}> XPeekEvent?
MV:}> 
MV:}> By using this, XPeekEvent, I can get the KeyRelease event, but I couldnt get the
MV:}> keypress event.  I just want to send one KeyPress and KeyRelease event to the 
MV:}> Event queue.
MV:}> 
MV:}
MV:}   There's nothing different about presses.  If you're not getting
MV:}KeyPress events it's likely that you haven't asked for them.
MV:}
MV:}
MV:}                            Mark.
MV:}
MV:}_______________________________________________
MV:}Xpert mailing list
MV:}[EMAIL PROTECTED]
MV:}http://XFree86.Org/mailman/listinfo/xpert
MV:}

-- 
                                  Priyamudan, Vivek
 ________________________________________________
(o-----------------------------------------------)
 \ Distributed Systems and Optical Networks Lab, \
  \  IITM, Chennai-36, India              (__)    \
   \   Ph:044-2578904                     oo )     \
    \     044-2578353        -=G=N=U=-    |_/\      \
    o)_______________________________________________)

Expressions other than SMILES are Dangerous


_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to