|
acMakeTranslucentWindow procedure
Advanced GDI routines |
|
| acGraphics
|
| procedure acMakeTranslucentWindow(Wnd: THandle; TransparencyRate: Byte); // TransparencyRate must be 0%..100%
|
| The acMakeTranslucentWindow makes the form translucent. The rate of transparency specified by TransparencyRate parameter. To return the form style to normal state use acMakeOpaqueWindow procedure.
|
|
|
| The acMakeTranslucentWindow makes the window layered, setting up the WS_EX_LAYERED attribute to the form style, then makes it translucent using the SetLayeredWindowAttributes function.
|
|
|
| Windows NT/2000: Requires Windows 2000 or later.
|
| Windows 95/98: Unsupported.
|
|
|
| acMakeOpaqueWindow procedure and acWin2kEffects component.
|