Author: weiden
Date: Wed Oct 29 20:58:24 2008
New Revision: 37079
URL:
http://svn.reactos.org/svn/reactos?rev=37079&view=rev
Log:
Make the task bar top-most when necessary
Modified:
trunk/reactos/base/shell/explorer-new/traywnd.c
Modified: trunk/reactos/base/shell/explorer-new/traywnd.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer-new/tr…
==============================================================================
--- trunk/reactos/base/shell/explorer-new/traywnd.c [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer-new/traywnd.c [iso-8859-1] Wed Oct 29 20:58:24 2008
@@ -698,6 +698,15 @@
This->HideClock = (sr.dwFlags & 0x8) != 0;
/* FIXME: Are there more flags? */
+
+ if (This->hWnd != NULL)
+ SetWindowPos (This->hWnd,
+ This->AlwaysOnTop ? HWND_TOPMOST : HWND_NOTOPMOST,
+ 0,
+ 0,
+ 0,
+ 0,
+ SWP_NOMOVE | SWP_NOSIZE);
if (sr.Position > ABE_BOTTOM)
This->Position = ABE_BOTTOM;