If I have the handle and try doing all this

::SetWindowPos(hwnd, HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE );
SendMessage(hwnd, SW_SHOW,0,0);
ShowWindow(hwnd, SW_SHOW);
SetForegroundWindow(hwnd);
BringWindowToTop(hwnd);

Still I am not able to bring the window to top

I asked about minimizing the parent window because i need the focus on the newly created application, but it is not happening