Added option SW_FORCEMINIMIZE to ShowWindow.

This commit is contained in:
Jukka Heinonen 2002-03-12 19:18:48 +00:00 committed by Alexandre Julliard
parent 235da7975b
commit b7beb7278f
2 changed files with 3 additions and 1 deletions

View File

@ -1178,6 +1178,7 @@ BOOL X11DRV_ShowWindow( HWND hwnd, INT cmd )
swp |= SWP_NOACTIVATE | SWP_NOZORDER;
/* fall through */
case SW_SHOWMINIMIZED:
case SW_FORCEMINIMIZE: /* FIXME: Does not work if thread is hung. */
swp |= SWP_SHOWWINDOW;
/* fall through */
case SW_MINIMIZE:

View File

@ -2871,7 +2871,8 @@ typedef struct tagMINIMIZEDMETRICS {
#define SW_SHOWNA 8
#define SW_RESTORE 9
#define SW_SHOWDEFAULT 10
#define SW_MAX 10
#define SW_FORCEMINIMIZE 11
#define SW_MAX 11
#define SW_NORMALNA 0xCC /* undoc. flag in MinMaximize */
/* WM_SIZE message wParam values */