Here are two examples for an application in the Windows 11 taskbar.
commandwindow: application launcher
NVMeData: Show NVMe output from smartctl
Both can be placed anywhere (drag the image) on the desktop. Will detect if it's on the taskbar.
+ On top of the taskbar. Supports taskbar auto hide.
- Can't allocate space in the taskbar. Gets invisible if the startmenu comes up. Restore with the next mouse click.
Maybe someone finds a way to solve the "startmenu" issue.
Key functionality: Implement a hook for the system event EVENT_OBJECT_LOCATIONCHANGE.
Feel free to tell me your experiences or any issues, of course.
Rolf