What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » VB Keypress help

VB Keypress help
Author: Message:
DJeX
Veteran Member
*****

Avatar


Posts: 1138
Reputation: 11
– / Male / –
Joined: Jul 2003
O.P. RE: VB Keypress help
quote:
Originally posted by Adeptus
Your game probably uses the DirectInput API.  That would be my default expectation for most modern 3D games.

http://msdn.microsoft.com/library/default.asp?url...nput/html/diov.asp


SendKeys() stuffs the Windows message loop, which sits at a higher level than DirectInput, so they are never seen by your game.

Unfortunately, I don't know off the top of my head how you would go about simulating keys so they are recognized by DirectInput.

Humm ok. Well I found everything I need to know about DirectInput except how to send a keypress to a DirectX program (the game).

quote:
Originally posted by Matty
http://allapi.net/apilist/keyb_event.shtml

Humm but wouldn't that be the same as SendKeys() ? I don't see how that uses DirectInput in any way.

EDIT: I tryed that Matty and still no luck.

This post was edited on 04-24-2006 at 01:35 AM by DJeX.
[Image: top.gif]
04-24-2006 01:31 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
VB Keypress help - by DJeX on 04-23-2006 at 11:10 PM
RE: VB Keypress help - by Adeptus on 04-23-2006 at 11:53 PM
RE: VB Keypress help - by matty on 04-24-2006 at 12:19 AM
RE: VB Keypress help - by DJeX on 04-24-2006 at 01:31 AM
RE: VB Keypress help - by rav0 on 04-24-2006 at 01:36 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On