How to maximize a window after minimizing it? I use nCmdShow = 3
to maximize it, and nCmdShow = 6
to minimize it using ShowWindow(hwnd, nCmdShow)
. However, as soon as I minimize the window, I cannot restore or maximize it.
Is this because I cannot save the handler for the minimized window so that the same window can be maximized under certain conditions? How to achieve the same?
source share