The AlphaBlendWindow command sets the shape, transparency and per-pixel opacity of a window using 32-bit bitmap.
Syntax
String$='PathToFile'
Integer=[-]ConstantAlpha
PluginSet("PlugIn","Integer")
PluginSet("PlugIn","String$")
PluginRun("PlugIn","AlphaBlendWindow")
Parameters
PathToFile
[in] Path to the 32-bit BMP file. The alpha channel of this image determines the shape and per-pixel opacity of the window.
ConstantAlpha
[in] Specifies an alpha transparency value to be used on the entire bitmap. The ConstantAlpha value is combined with any per-pixel alpha values in the source bitmap. If you set ConstantAlpha to 0, it is assumed that your image is transparent. Set the ConstantAlpha value to 255 (opaque) when you only want to use per-pixel alpha values from image.
Remarks
To change window shape to the standard look pass the empty string as the PathToFile parameter. It may be useful if you want to have both splash screen and main application window in one .mbd file.
If you don't need to change window shape but only its ConstantAlpha value just precede it with the "minus" sign: -ConstantAlpha.