Full Transparency Support
F-IN-BOX allows you to create applications that use transparent Flash movies, including windows with non-rectangular shapes and layered effects.
This enables building modern user interfaces where Flash is combined with native application logic.
Transparency is implemented through layered windows (WS_EX_LAYERED
), which let Flash content blend with custom backgrounds or the desktop.
Example
HFPC hFPC = FPC_LoadRegisteredOCX();
RECT rc = { 0, 0, 640, 480 };
HWND hwndFlashPlayerControl =
FPC_CreateWindow(hFPC,
WS_EX_LAYERED,
NULL,
WS_POPUP | WS_VISIBLE,
nLeft,
nTop,
nWidth,
nHeight,
hWnd,
NULL,
NULL,
NULL);
ShowWindow(hwndFlashPlayerControl, SW_SHOW);
UpdateWindow(hwndFlashPlayerControl);
With this approach, Flash movies can be used as part of custom-shaped forms, enabling translucent effects and non-standard UI designs.