< prev index next >

src/java.desktop/windows/native/libawt/windows/awt_Frame.cpp

Print this page

        

*** 1370,1380 **** } else if (zoom) { wp.showCmd = focusable ? SW_SHOWMAXIMIZED : SW_MAXIMIZE; } else { // zoom == iconify == FALSE wp.showCmd = focusable ? SW_RESTORE : SW_SHOWNOACTIVATE; } ! if (zoom && iconify) { wp.flags |= WPF_RESTORETOMAXIMIZED; } else { wp.flags &= ~WPF_RESTORETOMAXIMIZED; } --- 1370,1380 ---- } else if (zoom) { wp.showCmd = focusable ? SW_SHOWMAXIMIZED : SW_MAXIMIZE; } else { // zoom == iconify == FALSE wp.showCmd = focusable ? SW_RESTORE : SW_SHOWNOACTIVATE; } ! ::ShowWindow(hwnd, wp.showCmd); if (zoom && iconify) { wp.flags |= WPF_RESTORETOMAXIMIZED; } else { wp.flags &= ~WPF_RESTORETOMAXIMIZED; }
< prev index next >