K
Kai Zhang
In my application, I used
SetForegroundWindow hwnd
to bring the background window to front of desktop. It works fine in most of
the case. However, if the targeted background window is minimized, after
executing SetForegroundWindow hwnd to maximize this window, this window
cannot be minimized any longer(nothing happens when click the minimize
button on top-right corner of the window title bar)
I also tried this function:
ShowWindow hwnd, SW_SHOWMAXIMIZED
Same thing happens, can anyone give me some hint to make the minimize button
work again?
Thanks,
Kai
SetForegroundWindow hwnd
to bring the background window to front of desktop. It works fine in most of
the case. However, if the targeted background window is minimized, after
executing SetForegroundWindow hwnd to maximize this window, this window
cannot be minimized any longer(nothing happens when click the minimize
button on top-right corner of the window title bar)
I also tried this function:
ShowWindow hwnd, SW_SHOWMAXIMIZED
Same thing happens, can anyone give me some hint to make the minimize button
work again?
Thanks,
Kai