Re: programmatically press key

From: Igor Tandetnik (itandetnik_at_mvps.org)
Date: 12/13/04


Date: Mon, 13 Dec 2004 11:56:37 -0500


"Jay" <Jay@nospam.org> wrote in message
news:41b9c0e3$0$8086$8fcfb975@news.wanadoo.fr
> I would like to programmatically press a key.

Try keybd_event or SendInput

-- 
With best wishes,
    Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not 
necessarily a good idea. It is hard to be sure where they are going to 
land, and it could be dangerous sitting under them as they fly 
overhead. -- RFC 1925 


Relevant Pages

  • Re: programmatically press key
    ... Igor Tandetnik a écrit: ... >>I would like to programmatically press a key. ... > Try keybd_event or SendInput ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Re: mouse click
    ... mouse_event, SendInput ... With sufficient thrust, pigs fly just fine. ... overhead. ... -- RFC 1925 ...
    (microsoft.public.vc.language)