I just went to www.codepile.com, did a search for keybd_event and found one
sample that may help you and me (I've been working on a similar problem). I
think you do not want to use keybd_event, because it sends to whatever
window has focus. But the code I just found should help us use WM_CHAR to
send "normal" (a, b, ...) and special characters (arrow, tab, ...) to a
specified window.
--
-----------------------------------------
To reply to me, remove the underscores (_) from my email address.
Robert E. Zaret
PenFact, Inc.
20 Park Plaza, Suite 454
Boston, MA 02116
www.penfact.com
>I'm learning Win32 API programming and was wondering if anyone
>has a basic code example of sending keystrokes (ALT + Y, ALT +
>O, <Enter>, <Tab> etc...) to a dialog box/window ? Or if they
>could point me to a website that would contain such code ?
>Thanks !
>Ian D.
>-----------------------------------------------------------
>Got questions? Get answers over the phone at Keen.com.
>Up to 100 minutes free!
>http://www.keen.com