Quote Originally Posted by zuhrs View Post
If I have the handle and try doing all this

::SetWindowPos(hwnd, HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE );
.....
Still I am not able to bring the window to top
What is the hwnd you are using here?

Quote Originally Posted by zuhrs View Post
I asked about minimizing the parent window because i need the focus on the newly created application, but it is not happening
What is "not happening"? Minimizing of your application window? Or what?