How to change window brightness and transparency?
Hi everyone,
Can someone tell me how to change window brightness and transparency with a certain key combination, for example: alt+shift+up/down arrow?
By this I mean: What libraries do I need to use in order to achieve this, for example: window.h and etc?
As for the transparency is "true transparency" possible? If possible, how do I achieve this effect? What I mean by "true transparency" is that the window is transparent or not very opaque, but the text including the title bar text on the window are not very transparent or very opaque.
Thanks.
Re: How to change window brightness and transparency?
Read the MSDN documentation for AlphaBlend() API for Windows.. It allows regional transparency also...
If you need full window transparency( including non-client area like titlebar and sizebar ), you had to include extended style WS_EX_LAYERED to your window and use the SetLayeredWindowAttributes() API to adjust the alpha.. 255 means completely opaque, and 0 means completely transparent... you can adjust values between 0 and 255. :)
Re: How to change window brightness and transparency?
If you're using .NET, Transparency is a property you can set.