Internet Explorer always in the foreground

1

I'm using IE in Kiosk mode and there was an error from another app up front. What I would like to do is that if any other window appears in Windows , do not appear above the IE window, leaving it always in the foreground.

    
asked by anonymous 30.12.2015 / 12:57

1 answer

1

You can leave the IE window in front always through the windows library.

If you want a program that does it for you, I suggest using TurboTop . It is very simple to use, just install and select in the icon tray which window you want to be always in front of.

If you want to do this programmatically, use the SetWindowPos function of the windows library: SetWindowPos Function - MSDN

You can use the windows library in any language, I will give an example of the use in python, with the module Pywin32 , putting the Notepad window always on top:

import win32gui
import win32con

hwnd = win32gui.FindWindow('Notepad', None)
win32gui.SetWindowPos(hwnd, win32con.HWND_TOPMOST, 100, 100, 300, 200, 0) 

Source code: StackOverFlow - Set another program to always be on top?

    
30.12.2015 / 13:50