How to make a screen effect that happens when you change the desktop theme. The screen as it becomes gray and transparent? Thanks!
One way is to0 create a transparent window then set it also as transparent as a window style. Then fade it in and out as you like.
It can be so, but the main window is a color, but everything else is transparent gray. I think this is the case of windows, may be what some interface. ::)
No, Just create a Window using a hollow brush with an ordinary window to get it transparent. Look at Bill Cravener's example for a window that cane be faded in and out in 256 steps.
I did not want to create a transparent window. I need an effect that presence when you turn off the computer, as well as when changing the style of a desktop. The main window is color, and the rest of the gray area. That example is not quite that. Thank you for your answers! =)
Create a popup window the size of the desktop, bitblt the screen dc to the window's dc - then you have a copy of the screen to with as you wish.
Get the rect of the window you want to stay in colour, apply your fade/grey effect to all pixels not inside that rect.
Not sure how you'd plug that into shut-down, or changing desktop style.