I am creating a window in a DLL and I am getting the window's handle from
the DLL in my application. Now I want to use that handle to bring the window
to focus at a later point of time.

This is the piece of code I am using


But the window never comes to focus. Am I missing something here? Can
anybody help me?