Transparency - Color keying
Alpha blending and color keying when the video window is detached from the control
When the video window is detached from the control (Display_Embedded = false), another video window can be superimposed, and semi-transparency and/or color keying can be applied.
Semi-transparency is enabled by Display_AlphaBlendEnabled, and the semi-transparency value is specified by Display_AlphaBlendValue (in the 0..255 range).
Color keying is enabled by Display_TransparentColorEnabled, and the RGB color key value is specified by Display_TransparentColorValue.
Transparency of another video window when the video window is embedded in the control
To use window transparency, enable the ColorKeyEnabled property, then invoke SetWindowTransparency to set the color key of the form (or window), so that it is transparent when moved over the video window.
SetWindowTransparency has no color key parameter: it uses the current ColorKey value, i.e. the default TVideoGrabber color key, or the value assigned to the ColorKey property if the color key has been customized.
For sample code, see the code of the transparency checkbox in the "display" tab of the MainDemo project.