... LWA_ALPHA 2 #define GWL_EXSTYLE -20 #define WS_EX_LAYERED 524288 Function SetTransparent( oDlg ) SetWindowLong( oDlg:hWnd, GWL_EXSTYLE, nOr( GetWindowLong( oDlg:hWnd, GWL_EXSTYLE ), WS_EX_LAYERED ) ) SetLayeredWindowAttributes( oDlg:hWnd, 0, 160, 2 ) return nil