Search code examples
c#overlayalways-on-top

Clickable Screen overlay in C#


I am looking for some technologies or ways to create an application which should work like an active (clickable) overlay.

Let's say that we have running application which is always on top. My idea is to create a section on the left or right side of the screen. I'll try to explain in the fast sketch below:

enter image description here

As seen from the image, not only I want to create overlay which is on top aswel, but I want to adjust screen size for "App running always on top"

Is something like that possible?

If so can you please navigate me to the right direction?

PS: My app should have some clickable elements like radio buttons etc.

Thanks a lot


Solution

  • I think you want something like the window that appears when you right click an icon on the Windows taskbar. This is just a Windows Form without titlebar (here you can read how to hide titlebar: https://stackoverflow.com/a/7483026/14940782).

    Then, you can add Opacity or BackColor to the form to make it semi transparent or with some color you want. BackColor allows Transparent, by the way.