I want to draw DirectX content so that it appears to be floating over top of the desktop and any other applications that are running. I also need to be able to make the directx content semi-transparent, so other things show through. Is there a way of doing this?
I am using Managed DX with C#.
I found a solution which works on Vista, starting from the link provided by OregonGhost. This is the basic process, in C# syntax. This code is in a class inheriting from Form. It doesn’t seem to work if in a UserControl:
Lastly, a Form with default setting will have a glassy looking partially transparent background. Set the FormBorderStyle to ‘none’ and it will be 100% transparent with only your content floating above everything.