Added option SW_FORCEMINIMIZE to ShowWindow.
This commit is contained in:
parent
235da7975b
commit
b7beb7278f
|
@ -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:
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue