Python Forum
[PyQt] Application desktop toolbar with PyQt6 - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: GUI (https://python-forum.io/forum-10.html)
+--- Thread: [PyQt] Application desktop toolbar with PyQt6 (/thread-39563.html)



Application desktop toolbar with PyQt6 - bunz - Mar-09-2023

Has someone here ever worked with SHAppBarMessage? I'm trying to create a top bar that can always stay on the desktop having it's own reserved space by windows, but I cannot make my PyQt6 bar work this way.

Does someone have some resources I can use to complete this project?

Many thanks


RE: Application desktop toolbar with PyQt6 - Axel_Erfurt - Mar-09-2023

What is SHAppBarMessage? A Statusbar that show messages?


RE: Application desktop toolbar with PyQt6 - bunz - Mar-09-2023

It's an app bar message to the system (https://learn.microsoft.com/en-us/windows/win32/api/shellapi/nf-shellapi-shappbarmessage)
You can use it with ctypes and it creates an app bar, like another taskbar


RE: Application desktop toolbar with PyQt6 - deanhystad - Mar-09-2023

What is preventing you from using SHAppBarMessage? Have you looked at PyWin32?


RE: Application desktop toolbar with PyQt6 - bunz - Mar-09-2023

I cannot find a way to get it work, I don't completely understand it, so I asked if someone ever worked with it before and could give me some tips