AllowFullscreen
Syntax
BOOL FPC_EnableFullScreen(HWND hwndFlashPlayerControl, BOOL bEnable);
BOOL FPC_IsFullScreenEnabled(HWND hwndFlashPlayerControl);Description
Gets or sets AllowFullscreen.
The AllowFullscreen functionality enables or disables fullscreen mode for a Flash movie running inside the Flash Player ActiveX control.
Use FPC_EnableFullScreen to set the mode and FPC_IsFullScreenEnabled to query the current state.
Example
HWND hwndFlashPlayerControl = FPC_CreateWindow(...);
if (FPC_GetVersion(FPC_GetHFPC(hwndFlashPlayerControl))
>= DEF_MINIMAL_FLASH_VERSION_THAT_ALLOWS_FULLSCREEN)
{
// AllowFullscreen is supported
FPC_EnableFullScreen(hwndFlashPlayerControl, TRUE);
}Notes
- Available since Flash Player 9.0.28.0 (defined in
f_in_box.hasDEF_MINIMAL_FLASH_VERSION_THAT_ALLOWS_FULLSCREEN). - If fullscreen is not supported, calls to
FPC_EnableFullScreenwill have no effect.