'window.Event vs window.event

For some reason when fired through C# code by using the IHTMLElement2.focus() method call, an onfocus event will not set window.event (which will become null), instead some other object window.Event will get set with the event information. Is there a reason for this? I am using ShDocVw interface for InternetExplorer and this is the first time I have seen this issue.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source