Window Opacity 64-bit Mac

Waouw, thank you :slight_smile: . And it seems that it works in 32-bit too, I do not need to make a test #If Target32Bit / Target64Bit in case of I build my app in 32-bit.

I will search the difference in CGFloat and single, just to be less idiot.

Thank you very much.

Edit : If I well understood, I could do :
#If Target32Bit Then
Sub SetAlphaValue Lib “Cocoa” selector “setAlphaValue:” ( windowRef As Integer, alphaValue As Single)
#ElseIf Target64Bit Then
Sub SetAlphaValue Lib “Cocoa” selector “setAlphaValue:” ( windowRef As Integer, alphaValue As Double)
#Else
MsgBox “How many bit build ?”
#EndIf