astadtla / csexwb2

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

Keypress not registering without mouse click #54

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Load HTML page without any focusable elements
2. Press key
3.

What is the expected output? What do you see instead?
Keypresses should always be processed.
What are the OS and IE versions?
WinXP & IE 6
What version of the product are you using?
2.0.0.0

Please provide any additional information below.
When an HTML page is loaded and there are no focusable elements, 
keypresses are not passed to the browser control.  They hit the 
PreProcessMessage section in csExWB but do not move further, including 
calling any registered WBKeyDown event handlers.
Once a page is loaded that includes focusable elements or the mouse is 
clicked, keypresses are passed to the browser control.  
I've checked both Control.Focus as the m_InternalHasFocus variable in this 
condition and they are both true.

Original issue reported on code.google.com by samha...@gmail.com on 22 Aug 2008 at 4:04