Hi, I'm trying to create a minimalistic window that is pretty simple. Ideally I'd like it to have a 70% transparent background allowing the user to see through it, with a solid 1px border, a few labels, and a textbox with it stuck to the desktop via W32 SetParent (solid meaning not transparent). Clearly since the Form.Opacity property makes controls transparent as well that is of no use, I tried using the DWM to extend Aero Glass to the entire form but when you set a labels background color to transparent the entire control renders black instead of text with transparent background, and I had a failed attempt at trying to implement LayeredWindows (not sure if that would work even). Any insight or help into this would be great, the solution doesn't exactly have to be robust this application will only be running on my computer (Running Win7 atm, and plan on purchasing at release) Thanks for the help.
Ah, thanks for pointing out WPF - the transparency does work exactly how I would like it too. Unfortunately SetParent() doesn't seem to work with windows that use transparency, is there another way that you can pin a window to the desktop similar to programs like Samurize and such?
Is this what you wanna acomplish: http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/20fa8678-5355-48da-abce-c95461b76b8c/ ?
Lucian Baciu, http://studentclub.ro/lucians_weblog
Yes, I use the Win32 API SetParent call to set the parent of my window the "ProgMan", however that doesn't work when the window is transparent (or has the transparency key set in WinForms) apparently, either way at least I got the form transparency working the way I wanted it too, sticking it to the desktop was just an added bonus.