[ros-diffs] [weiden] 37079: Make the task bar top-most when necessary
weiden at svn.reactos.org
weiden at svn.reactos.org
Thu Oct 30 02:58:26 CET 2008
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/traywnd.c?rev=37079&r1=37078&r2=37079&view=diff
==============================================================================
--- 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;
More information about the Ros-diffs
mailing list