F-IN-BOX DLL Edition Help >> Native Flash ActiveX Interface >> Properties

AllowFullscreen

Description

Allows fullscreen mode.

[ C++ ]
BOOL FPC_EnableFullScreen(HWND hwndFlashPlayerControl, BOOL bEnable);
BOOL FPC_IsFullScreenEnabled(HWND hwndFlashPlayerControl);

Example

[ C++ ]
HWND hwndFlashPlayerControl = FPC_CreateWindow(...);
...
if ( FPC_GetVersion(FPC_GetHFPC(hwndFlashPlayerControl)) >= DEF_MINIMAL_FLASH_VERSION_THAT_ALLOWS_FULLSCREEN )
    // Allowfullscreen is available
{
    FPC_EnableFullScreen(hwndFlashPlayerControl, TRUE);
}

Flash versions

Available from the flash version 9.0.28.0 (defined in f_in_box.h as DEF_MINIMAL_FLASH_VERSION_THAT_ALLOWS_FULLSCREEN)



Copyright © Softanics. All rights reserved.
F-IN-BOX is a trademark of Softanics.
Macromedia and Shockwave Flash are trademarks of Adobe