Reputation: 772
I'd like to configure windows settings using Win32 API.
Main purpose is to hide system tray icon from taskbar, such as Network Status icon, Volume icon and Audio Recording icon).
I tried using Shell_NotifyIconW()
, but it can hide "Users"'s icons not system icons.
I'd like to use VS2017 + on Windows 10 (x64).
Let someone please help me to solve this issue.
Upvotes: 0
Views: 209
Reputation: 4017
As far as I'm concerned, there is no winapi to turn system icons on or off. I suggest you could refer to the thread: https://superuser.com/questions/1535485/programmatically-open-turn-system-icons-on-or-off-in-a-similar-way-to-cortana
And as Simon said, you could also try to use UI Automation.
Upvotes: 0