On windows operating system How can we make a window an active window or focussed window using C++ program.
I tried SetForegroundWindow() but it is not working.
AllowSetForegroundWindow() will work on windows XP?

Any how please give an idea for this.