Guys,
I'm researching something that, at this point is beyond my knowledge
base. Here's the project:
We have a control panel connected via an rs-232 port. I would write
a program that looks like the control panel and allows the user
to assign either keypresses or mouse events to a particular button(s).
The tricky part is this needs to act like a DOS macro TSR. The user
would click on a button on my program, it would then minimize itself,
I would then have to identify the program that is now got the focus
and wait for a keypress or mouse click. Essentially I would need to
eavesdrop on the other program (not something I've written) and get
the message. Then I restore my program to "normal" size and let
the user program some more buttons. The other half of this, is
the "play back" side of things. When my program is minimized and
the user pushes a button on the control panel, I'm to send that
keypress/mouse event to the top level window. I'm very familiar
with the comm port stuff and working with this control panel, it's
the communicating with and sniffing the events of the other program
that I has me clueless. Anybody have any suggestions on where to
look and start?
TIA,
Russ Srole
------------------
I'm researching something that, at this point is beyond my knowledge
base. Here's the project:
We have a control panel connected via an rs-232 port. I would write
a program that looks like the control panel and allows the user
to assign either keypresses or mouse events to a particular button(s).
The tricky part is this needs to act like a DOS macro TSR. The user
would click on a button on my program, it would then minimize itself,
I would then have to identify the program that is now got the focus
and wait for a keypress or mouse click. Essentially I would need to
eavesdrop on the other program (not something I've written) and get
the message. Then I restore my program to "normal" size and let
the user program some more buttons. The other half of this, is
the "play back" side of things. When my program is minimized and
the user pushes a button on the control panel, I'm to send that
keypress/mouse event to the top level window. I'm very familiar
with the comm port stuff and working with this control panel, it's
the communicating with and sniffing the events of the other program
that I has me clueless. Anybody have any suggestions on where to
look and start?
TIA,
Russ Srole
------------------
Comment