Hi,
 I have a requirment simalar to what VNC does. I would like to pass keyboard
events to my Application from my main program.
I have a main program that uses CreateProcess() to create a New Process
"A"(like acrobat.exe or calc.exe), also my main program should be able to
simulate certian keyboard events and pass them to the New Process"A".
I tried:
Enumerate the windows and get the HWND of the client window. I then use
SendMessage(hWnd, WM_KEYDOWN, 68, 1L);

However the event is not simulated in the window of "A".
How does VNC do that, it does something similar, if i am right..
Thanks,
Preetham.






----- Original Message -----
From: "Roger Cuthbert" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 18, 2002 12:58 AM
Subject: RE: blank remote screen


> Try  http://grc.com  and look at Steve Gibson's WIZMO.EXE  you make a
> shortcut and then edit the command line with monoff.  I use it on my main
> screen though not yet tried it on the remote.
>
> Roger
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of noil sg
> Sent: 18 February 2002 07:27
> To: [EMAIL PROTECTED]
> Subject: blank remote screen
>
>
> Someone suggested using device driver level code to
> take advantage of power save feature to turn off the
> monitor before. I appreciate if some one can share
> more info such as source code etc with regards to this
> issue.
>
> Thanks
> ~~henry
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - Coverage of the 2002 Olympic Games
> http://sports.yahoo.com
> ---------------------------------------------------------------------
> To unsubscribe, mail [EMAIL PROTECTED] with the line:
> 'unsubscribe vnc-list' in the message BODY
> See also: http://www.uk.research.att.com/vnc/intouch.html
> ---------------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, mail [EMAIL PROTECTED] with the line:
> 'unsubscribe vnc-list' in the message BODY
> See also: http://www.uk.research.att.com/vnc/intouch.html
> ---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, mail [EMAIL PROTECTED] with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to