hyyly / csexwb2

Automatically exported from code.google.com/p/csexwb2
0 stars 0 forks source link

Focus problem #57

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go to 
2. http://www.freespaceinvaders.org/
3. Open the game

What is the expected output? What do you see instead?
To move the fighter you need to use Left/Right arrow keys but the focus 
get stolen from the game (flash game). The space bar works fine which is 
used to fire, only the arrow keys result in lost focus.
What are the OS and IE versions?
Vista/IE7
What version of the product are you using?
1.07

Please provide any additional information below.

Original issue reported on code.google.com by qaiserif...@googlemail.com on 1 Sep 2008 at 12:52

GoogleCodeExporter commented 9 years ago
I've just tested by downloading the latest version (2.0.0.2) as well. It works 
fine 
up to the stage where you have only one tab in the demo application but once 
you 
open another tab and switch back to the tab where game is loaded the keys don't 
get 
passed. 

Original comment by qaiserif...@googlemail.com on 1 Sep 2008 at 1:39

GoogleCodeExporter commented 9 years ago
I've managed to fix it but i am not sure if it is going to cause any problems. 

If you comment out the line in function preprocessmessage where it calls the 
base 
preprocessmessage the problem goes away.

if (!handled)
     {
          //handled = base.PreProcessMessage(ref msg);
     }

Original comment by qaiserif...@googlemail.com on 2 Sep 2008 at 12:05