Re: Sending events to an application. Sample Program.
- From: "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com>
- Date: Mon, 17 Jul 2006 08:21:04 -0700
Obviously, you can run an application (CreateProcess, just like on the
desktop). I don't know what exec() does any more. No, there are no sample
applications like this (and, given that every application that you'd want to
'automate' would be different, you'd have to significantly modify any sample
anyway).
Paul T.
"Mangel" <Mangel@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:F585F311-2691-4593-A3E8-BAC01C2AD3AF@xxxxxxxxxxxxxxxx
Hi,
There isn't any problem in having Messenger on the display if I could do
it
without a pointer/mouse. Is there any way to exec messenger from my own
application, something like an 'exec' method.
And, please, do you know if there are some sample application (with WCE o
PB
instalation) that makes something like what I want to do?
Thanks in advance,
Mariangel.
"Paul G. Tobey [eMVP]" wrote:
You're going to have difficulty doing it without having Messenger on the
display. Taps/clicks don't go to random windows; they go to the
frontmost
window that is under the mouse or stylus. If you were willing to live
with
having the display there, and just sending it information to automate it,
yes, you can do that with PostKeybdMessage(), keybd_event(), and
mouse_event(). If you have to hide it, I'd say that you're on the wrong
track.
Paul T.
"Mangel" <Mangel@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:B12D0D9F-A2F2-482F-BDB9-5571B24F31E8@xxxxxxxxxxxxxxxx
Hi All,
I'm a newbie in VC++ and Windows CE development.
I want to develope an application that runs MSN Messenger and sends key
events or any type of events to it. I need my application runs
Messenger,
pushes "Start voice comunications", selects a contact, but all of this
without user interaction.
Is there any sample application that does something like this?
My goal is make a demo that uses MSN Messenger but without the display.
Any help will be grateful. Thanks in advance,
Mariangel.
.
- References:
- Re: Sending events to an application. Sample Program.
- From: Paul G. Tobey [eMVP]
- Re: Sending events to an application. Sample Program.
- Prev by Date: Re: running MSMQ sample
- Next by Date: Re: running MSMQ sample
- Previous by thread: Re: Sending events to an application. Sample Program.
- Index(es):
Relevant Pages
|