Advertisement

Transparent stuff

Started by October 29, 2000 11:50 AM
11 comments, last by SKSlayer 24 years ago
There is honestly no way to get around a rectangular window in the windows API. However you can make the window border and it''s background transparent. This is done by setting the background to NULL. And setting the windows mode to WS_TRANSPARENT. Other options exhisit in Windows 2000 for alpha blending in GDI but those calls don''t exhist on any other OS.
Joseph FernaldSoftware EngineerRed Storm Entertainment.------------------------The opinions expressed are that of the person postingand not that of Red Storm Entertainment.
evaclear >> I know a windows will always be rectangular, but, the solution you give me seems good to me
(you can find me on IRC : #opengl on undernet)
Advertisement
The only problem is that, if I set WS_TRANSPARENT, the controls in the window does not show up, and the background snapped at the run of the prog does no change, even if I move the window
(you can find me on IRC : #opengl on undernet)

This topic is closed to new replies.

Advertisement