AleXelton
AleXelton

Reputation: 772

Is there a way to configure "Settings -> Personalization -> Taskbar -> Turn system icons on or off" programmatically?

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. enter image description here

Upvotes: 0

Views: 209

Answers (1)

Jeaninez - MSFT
Jeaninez - MSFT

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

Related Questions