In this tip, you will learn how to bypass the limitation of using ::SetForegroundWindow() function.
Alternatives
Members may post updates or alternatives to this current article in order to show different
approaches or add new features.
At first site, you can use BOOL WINAPI ShowWindow(__in HWND hWnd,__in int nCmdShow); with SW_RESTORE in nCmdShow (msd link) and maybe it needs to activate window before (not tested :))
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.