I need to maximize a window in background, meaning without activating (focusing) it. SetWindowPlacement function doesn\'t offer this.. Any ideas?
WINDOWP
The best way I could find to do this was (VB sorry!);
longForeHWnd = GetForegroundWindow Call ShowWindow(longBackHWnd, SW_SHOWMAXIMIZED) SetForegroundWindow (longForeHWnd)
This is only a work-around because the Background Window is (briefly) activated and so gets promoted up the Z-Order