From 7ca1dd308bc7778b2776dcc7e75d20edbf2dfa11 Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Thu, 30 Oct 2008 01:58:24 +0000 Subject: [PATCH] Make the task bar top-most when necessary svn path=/trunk/; revision=37079 --- reactos/base/shell/explorer-new/traywnd.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/reactos/base/shell/explorer-new/traywnd.c b/reactos/base/shell/explorer-new/traywnd.c index e42e61f1892..21b80429ba8 100644 --- a/reactos/base/shell/explorer-new/traywnd.c +++ b/reactos/base/shell/explorer-new/traywnd.c @@ -699,6 +699,15 @@ ITrayWindowImpl_RegLoadSettings(IN OUT ITrayWindowImpl *This) /* 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; else