0

Hi every one
I have an application that gives the handle and information about the window that mouse goes over it
I know the stupid way to get the handle or any information from the teXt that holds it
and it's Open Notepad and write to it
So What i want is that:
HOW CAN I SEND A KEY OR EVER A RIGHT CLICK AVENT TO MY APPLICATION EVER IF IT DOES NOT GET THE FOCUS?
I REALLY WANT THAT

2
Contributors
2
Replies
4
Views
10 Years
Discussion Span
Last Post by aparnesh
0

Hi Every one,
:sad:I may didnot explane good
let's say i have a programe and i want to send to it a key from keyboard even if it doesn't have the focus
for example I open notepad and any thing i write in it write in my application
and thank you

0

I am not sure whether this is possible, unless u write TSR or something like that to read the keyboard events. When any other application (like notepad) has the focus, ur program loses focus and no codes (except timer events and stuff like that) are executed.

You can of course write two programs urself that will send the keystrokes to each other, but whether you can manipulate an external program like Notepad to do that ... I am not sure

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.