#2846076 - required update with foreach to assign topmost property to existing open forms - make sure existing open forms are shown above PH when user activates Always On Top and also reset topmost on existing forms when deactivated

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1981 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
dmex04
2009-09-28 09:30:12 +00:00
parent 6a1cc1e1b6
commit 3adeaf7143
+5
View File
@@ -1271,6 +1271,11 @@ namespace ProcessHacker
HackerWindowTopMost = f.TopMost;
}));
foreach (Form form in Application.OpenForms)
{
form.TopMost = f.TopMost;
}
UpdateWindowMenu(((MenuItem)sender).Parent, f);
}