I have 2 HWND_TOPMOST windows, among which I wanted to maintain 1 window always on top for sometime, is there a way we can bring a window to the top of the other topmost windows ?
I just tried below option, just catch when my window goes out of focus by other window & trying to take it to foreground but it is not working at all.
case WM_KILLFOCUS:
{
//tried below all options
::BringWindowToTop(hWnd):
::SetForegroundWindow(hWnd);
::SetFocus(hWnd);
::SetActiveWindow(hWnd);
}
please do suggest some way to achieve this..