mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
#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:
@@ -1271,6 +1271,11 @@ namespace ProcessHacker
|
||||
HackerWindowTopMost = f.TopMost;
|
||||
}));
|
||||
|
||||
foreach (Form form in Application.OpenForms)
|
||||
{
|
||||
form.TopMost = f.TopMost;
|
||||
}
|
||||
|
||||
UpdateWindowMenu(((MenuItem)sender).Parent, f);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user