F-IN-BOX DLL Edition Help >> Extensions >> Messages

FPCM_PUT_STANDARD_MENU, FPCM_GET_STANDARD_MENU

Description

Enabling/disabling the standart flash context menu.

Messages

[ C++ ]
FPCM_GET_STANDARD_MENU
FPCM_PUT_STANDARD_MENU
Structures

[ C++ ]
struct SFPCGetStandardMenu
{
    // [out]
    VARIANT_BOOL StandardMenu;
};

struct SFPCPutStandardMenu
{
    // [in]
    VARIANT_BOOL StandardMenu;
};

Example

[ C++ ]
void GetStandardMenu(HWND hwndFlashPlayerControl)
{ SFPCGetStandardMenu info; ::SendMessage(hwndFlashPlayerControl, FPCM_GET_STANDARD_MENU, 0, (LPARAM)&info);
TCHAR lpszBuffer[1024]; wsprintf(lpszBuffer, _T("%d"), info.StandardMenu); ::MessageBox(NULL, lpszBuffer, _T("Result"), MB_OK); } void PutStandardMenu(HWND hwndFlashPlayerControl, VARIANT_BOOL StandardMenu) { SFPCPutStandardMenu info; info.StandardMenu = StandardMenu; ::SendMessage(hwndFlashPlayerControl, FPCM_PUT_STANDARD_MENU, 0, (LPARAM)&info); }


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