codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  controlling an app in foreground from one running in background  lz300 at 23:59 on Friday, October 05, 2007
 

I have built an arcade cabinet from which I will play Mame, Daphne (Dragon's Lair) and pc games (like Warcraft, Quake, RTCW, etc). I bought a joystick control (X-arcade Tankstick) which does not have an Escape button. I'm using VB6 to build the GUI that will drive the whole thing, and have successfully written code to emulate the Esc key by pressing 2 buttons simultaneously.

The problem I have is that once a game is launched, the GUI is sent to the background, and no longer recognizes any input from the buttons being pressed. I need to emulate the Esc key to exit out of games like Warcraft and RTCW.

Anyone have any ideas?









CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums
//








Recent Forum Threads
•  ** Site Hacked ** javascript inserted...
•  Losing background/text color when converting HTML to PDF
•  hidden div block when displayed, displays at an offset of 200px only in IE 6..
•  help - sketch
•  Re: Perl Script - File Handling.
•  Open a file from website
•  Re: to open 5 terminals from one and also execute different commands on each terminal
•  read a selected multiple line, those should match some of the values read in the files..
•  Help me please


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2008