mirror of
https://github.com/reactos/reactos.git
synced 2025-06-04 08:50:27 +00:00
Patch by Vytis Girdzijauskas (cman[at]cman[dot]us):
make mazescr show fullscreen svn path=/trunk/; revision=32866
This commit is contained in:
parent
e17e36c352
commit
801083bac5
1 changed files with 21 additions and 7 deletions
|
@ -118,13 +118,27 @@ HWND InitSaver(HWND hwndParent)
|
|||
}
|
||||
else
|
||||
{
|
||||
hwnd = CreateWindow(APPNAME, APPNAME,
|
||||
WS_VISIBLE | WS_POPUP | WS_EX_TOPMOST,
|
||||
0, 0,
|
||||
GetSystemMetrics(SM_CXSCREEN), GetSystemMetrics(SM_CYSCREEN),
|
||||
HWND_DESKTOP, 0,
|
||||
hInstance, NULL);
|
||||
ShowWindow(hwnd, SW_SHOWMAXIMIZED);
|
||||
hwnd = CreateWindowEx(WS_EX_TOPMOST,
|
||||
APPNAME,
|
||||
APPNAME,
|
||||
WS_VISIBLE | WS_POPUP,
|
||||
0,
|
||||
0,
|
||||
GetSystemMetrics(SM_CXSCREEN),
|
||||
GetSystemMetrics(SM_CYSCREEN),
|
||||
HWND_DESKTOP,
|
||||
0,
|
||||
hInstance,
|
||||
NULL);
|
||||
|
||||
SetWindowPos(hwnd,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
SWP_NOZORDER | SWP_NOACTIVATE | SWP_NOSIZE | SWP_SHOWWINDOW);
|
||||
|
||||
ShowCursor(FALSE);
|
||||
fullscreen = TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue