I have a windows form with Tabs, in each tab i have IE browsers embedded in it using `SetParent()` api.
There is another application say notepad is on top of my form and when I click on embeded IE browser, though IE get activated but it doesn't come on top and notepad remains on top in a deactivated state.
I also tried setting forground using `SetForegroundWindow((IntPtr)explorer.HWND)` in side a timer that keeps track of mouse clicks. The code was executed but with no success.
I also tried.
SetWindowPos((IntPtr)explorer.HWND, HWND_NOTOPMOST, 0, 0, 0, 0, SetWindowPosFlags.IgnoreResize | SetWindowPosFlags.IgnoreMove );
but with no success.