how to capture mouse and keyboard events programatically
hello all,
I am writing a small program which creates a window. I want to capture all the mouse and keyboard events inside the window and find the mouse coordinates within the window and the key pressed. I want to know how to check whether my window is the active one among others in the desktop. help me .... bye |
how about telling us what tool kit you are using for this and what language too...? there's more than one way to skin a cat, but there's also a thousand different types of cat.
|
hello sir,
I am trying to display a window using tk.h functions in a 'C' code. Within the window i am displaying a image.Now on that image i want to capture the mouse and keyboard events.Though keyboard events are not related to images i am trying for that too. I think my question is a bit clear now |
hello chris ,
I want to know whether there are any online sample programs to create a window , display an image in it using tk.h functions within a 'C' language. |
All times are GMT -5. The time now is 09:17 PM. |