03-16-2021, 08:46 PM
Does not find the toolbar control that contains tray icons. Because Windows 10 has 2 similar toolbars, and the function finds the wrong.
I updated the code and added new function FindTrayControl.
If still fails, before calling HideTrayIcon etc insert code that finds the control and pass its handle to HideTrayIcon (third parameter).
I updated the code and added new function FindTrayControl.
If still fails, before calling HideTrayIcon etc insert code that finds the control and pass its handle to HideTrayIcon (third parameter).