I have an app that has a popup status window. I'd like the window to be able to stay on top, regardless of whether the main window is minimized or otherwise visible. I'm halfway there with this code:
SetWindowPos(fstatus.Handle, HWND_TOPMOST, 0,0,0,0,SWP_NOMOVE or SWP_NOSIZE or SWP_showwindow);
This works if you click away from the main application, but if you minimize it the child window disappears too. I'd like to be able to keep it there the whole time.