Skip to main content
GameDev.net gamedev.net
🔒 Locked

Why does Internet Explorer do this?

Started by Succinct Jan 17, 2002 at 6:33 AM 2 replies 700+ views
Original Post
Succinct
Succinct
I''ve read docs in the MSDN saying that it is rude practice to go moving window z-order around programmatically on a user, because it messes with the user''s ideas of which programs are on top, and which are on the bottom. It pretty much said you really shouldn''t do this, and with good reason, especially since it''s such an easy thing to do (SetWindowPos()). Well, why the phook does Internet Explorer 5.0 through 6.0 (and I''m sure others before it) happen to do just this? Were you ever 2 or 3 start menu levels deep just to see the entire menu disappear because IE decided to pop up on top? Were you ever in the middle of typing something to suddenly see yourself staring at some other web page, and that when you hit enter, thinking you were starting a new line in another application, only to be hitting enter after some link to gamedev.net recieved focus? Well, that most last part hasn''t happened to me, at least I''ve not randomly been carried to the land of goatse because of IE, but it could happen. Does this happen to anyone else, or is this just me? Does anyone know how to stop the little bugger from doing it, as it''s really starting to piss me off. Thank you for your bandwidth, -- Succinct
-- Succinct(Don't listen to me)
Krunk
Krunk
I get a similarly nasty effect with ICQ. When it runs and pops up the password box, it always steals focus from whatever I''m using at the time. That''s despite the fact that I have set "Prevent Applications From Stealing Focus" in TweakUI. Its the only program that does it

I can''t even disable the password because I''m sharing a house with a few practical jokers who would love to mess up my settings...
CaptainJester
CaptainJester
I think it is done using ActiveX controls. You would have to disable ActiveX controls from your Tools/Internet Options menu to stop it. And it is not Internet Explorer that is doing this, it is the people that program the websites that do it. Also, the action is like a new window being open. Any time you open a new window, it becomes the top level and active window.

---
Make it work.
Make it fast.

"Commmmpuuuuterrrr.." --Scotty Star Trek IV:The Voyage Home
"None of us learn in a vacuum; we all stand on the shoulders of giants such as Wirth and Knuth and thousands of others. Lend your shoulders to building the future!" - Michael Abrash[JavaGaming.org][The Java Tutorial][Slick][LWJGL][

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.