I am developing an MFC/C++ application and find that web browser controls keeps stealing the focus from other windows. I downloaded this sample app and changed IProtectFocus.AllowFocusChange so it always sets pfAllow to "false", however I am still seeing the same problem with this sample app. To recreate this behavior, create a simple web page that has the auto-refresh flag set in its head section, like this:
<meta http-equiv="refresh" content="10" />
Is it possible to prevent the web browser from stealing the input focus every time the page, or an element inside the page, refreshes?
Last Visit: 31-Dec-99 18:00 Last Update: 23-Oct-14 5:26