We have a smart client application that is composed of Win Forms user controls that combine together to form a dialog and get displayed in a browser window.
When a particular menu item is clicked, a web page from an external site will open.
But the problem is that the first browser window that launched then second one needs to refresh and so the second browser is sent to the background. But we need to second browser window to be active and appear in the foreground.
When the browser window of external site is launched we are storing its window handle in a variable and using the functions of the User32 dll to bring it to the foreground. The code is like this :
Could you please suggest a way such that refresh for the first window also happens and second one remains in the foreground.
Thanks in advance
View Complete Post