Xtreme Visual Basic Talk

Xtreme Visual Basic Talk (http://www.xtremevbtalk.com/)
-   .NET Game Programming (http://www.xtremevbtalk.com/-net-game-programming/)
-   -   How to send keystrokes to inactive DirectX Gamewindow (http://www.xtremevbtalk.com/-net-game-programming/327521-send-keystrokes-inactive-directx-gamewindow.html)

hqq 03-06-2015 06:41 AM

How to send keystrokes to inactive DirectX Gamewindow
Guys i want to send keystrokes to inactive window...And im doing it with controlsend or postmessage,sendmessage very well and there is no problem with it but when i try to send keystrokes to inactive game window that uses directx ; its not working..

To explain fully ; Postmessage,sendmessage or Controlsend is working but just on chat window in game... So How can i fix it ? maybe with wrapper or directinput ? idk please help me..

4x2y 03-24-2015 01:49 PM

Any window must be focused to receive keystroke, if you know the window handle, activate it first by SetForegroundWindow

All times are GMT -6. The time now is 02:48 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Search Engine Optimisation provided by DragonByte SEO v2.0.15 (Lite) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
All site content is protected by the Digital Millenium Act of 1998. Copyright©2001-2011 MAS Media Inc. and Extreme Visual Basic Forum. All rights reserved.
You may not copy or reproduce any portion of this site without written consent.