Transparent colour on window using win32
-
Hi, If I wanted to have a window that was a custom shape, e.g. a circle, how could I make the regions of the window that I do not want to see transparent?
---/ \--- -- -- -- -- ---\ /--- ------------- Lame diagram, but I would like to make the areas composed of dashes transparent so that only the circular area of the window remains visible. Thanks
-
Hi, If I wanted to have a window that was a custom shape, e.g. a circle, how could I make the regions of the window that I do not want to see transparent?
---/ \--- -- -- -- -- ---\ /--- ------------- Lame diagram, but I would like to make the areas composed of dashes transparent so that only the circular area of the window remains visible. Thanks
Try SetWindowRgn[^] - there's an MFC variant[^]
-
Try SetWindowRgn[^] - there's an MFC variant[^]
An alternative to using window regions is to use layered windows[^]. p.s: You get 10 bonus points for the ASCII art. :-D
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
-
An alternative to using window regions is to use layered windows[^]. p.s: You get 10 bonus points for the ASCII art. :-D
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
Probably you replied to the wrong post. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
Probably you replied to the wrong post. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles]Oups, sorry about that. :(
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
-
Oups, sorry about that. :(
> The problem with computers is that they do what you tell them to do and not what you want them to do. <