Make the task bar top-most when necessary

svn path=/trunk/; revision=37079
This commit is contained in:
Thomas Bluemel
2008-10-30 01:58:24 +00:00
parent fbcf9dd7e9
commit 7ca1dd308b

View File

@@ -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