Here is the code that I use to restore and set a window to foreground. When the window is minimized, the code work pefectly but when the window is hiding behind some other w