mirror of
https://github.com/reactos/reactos.git
synced 2026-07-06 19:54:31 +08:00
Make the task bar top-most when necessary
svn path=/trunk/; revision=37079
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user