Author: tkreuzer
Date: Fri Apr 4 19:25:22 2008
New Revision: 32866
URL:
http://svn.reactos.org/svn/reactos?rev=32866&view=rev
Log:
Patch by Vytis Girdzijauskas (cman[at]cman[dot]us):
make mazescr show fullscreen
Modified:
trunk/rosapps/applications/screensavers/mazescr/scrnsave.c
Modified: trunk/rosapps/applications/screensavers/mazescr/scrnsave.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/screensavers/…
==============================================================================
--- trunk/rosapps/applications/screensavers/mazescr/scrnsave.c [iso-8859-1] (original)
+++ trunk/rosapps/applications/screensavers/mazescr/scrnsave.c [iso-8859-1] Fri Apr 4
19:25:22 2008
@@ -118,13 +118,27 @@
}
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;
}