Emulating Windows Features
Hello, I'm trying to figure out a couple of things before I start a new project. The first of which is Emulating a specific feature of windows which I can't seem to find a proper name for or anything on how it's achieved and if I can do the same thing myself.
I'm trying to figure out how to get a button that sits in a similar position to the News and Interests button on Windows 10 so I can open a UI when it's clicked.
Also if there's a way to keep that application running in the background so the Data Service I'm using for it is still running and updating I'd appreciate any input on that as well (I'm leaning towards Avalonia for the UI, and SignalR to connect to a central web service / api to achieve some level of real time data updates)
3 Replies
there's no API for adding stuff to the taskbar like that afaik
the closest you could get is a tray icon that does something when clicked
I also doubt there's an api adding an entire feed window. But an alternative that you might like is that there are apis for creating widgets (Windows 11 only afaik). I've gone ahead and grabbed a list of links for you that I think you might like if you want to go the Win11 widget route.
- Widget providers
- Implement a widget provider in a C# Windows App
Note some prerequisites:
Your device must have developer mode enabled. For more information see Enable your device for development. Visual Studio 2022 or later with the Universal Windows Platform development workload. Make sure to add the component for C++ (v143) from the optional dropdown.
Thanks, I'll probably have to go with something like jcottons idea and use a taskbar instead.