Implementing translucent windows in Windows

Started by
3 comments, last by drstrangeluv 24 years, 1 month ago
Does anyone have any knowledge about how to implement translucent windows in Windows 98/2000? I''m interested in creating windows through which you can see the stuff behind them.
Advertisement


I haven''t done this in a LONG time but I think you might want to look at CreateWindowEx for a style bit...or even SetWindowRgn for info.

Good Luck!

-mordell
__________________________________________

Yeah, sure... we are laughing WITH you ...
Try this:
When registering the window class, I believe HOLLOW_BRUSH will give you the see-through window when defining hbrBackground.

Hope this helps
The HOLLOW_BRUSH option got the effect I wanted; however, when I move the window, it doesn''t update the background. Is there anyway to force the window to repaint its background?
Unfortunatly I don't know how to do that yet. But if I find out I'll let you know.

Good luck.

Edited by - Brett B. on 3/21/00 5:28:33 AM

This topic is closed to new replies.

Advertisement