Previous | Up | Next |
_SETwindowTransparency
Set the transparency values of a window.Required
The transparency can be processed with a transparency color or with an alpha blending factor.
You must add the WN_TRANSPARENCY flag to the window creation (_CRwindow) in order to process the window transparency.
If an ObjContainer is added to the window, please use _SETcontainerTransparency instead.
ObjWin _SETwindowTransparency ( ObjWin _window_ I _color_ I _alpha_factor_ I _flags_ )
scol 4.5 or aboveParameters
Return value
_window_ any window, created with WN_TRANSPARENCY flag _color_ 24bits transparency color (can be nil) _alpha_factor_ alpha blending factor [0 - 255] (can be nil) _flags_ flags :
WN_TRANS_COLOR enable color transparency WN_TRANS_ALPHA enable alpha blending
same window. returns nil if an error occurs.Important
Windows 95/98/ME are not able to internaly process the window transparency, so the transparency has to be simulated.
2000/XP programers can use _SIMULATEwindowTransparency (or _SIMULATEcontainerTransparency) in order to get an idea of the transparent items behaviour, running with 95/98/ME.