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

Stacking

Description

Messages

[ C++ ]
FPCM_GET_STACKING
FPCM_PUT_STACKING

Structures

[ C++ ]
struct SFPCGetStacking
{    
    // [in, out]
    LPTSTR lpszBuffer;
    DWORD dwBufferSize;

    // [out]
    HRESULT hr;
};


struct SFPCPutStacking
{
    // [in]
    LPCTSTR lpszBuffer;

    // [out]
    HRESULT hr;
};

Example

[ C++ ]
void GetStacking(HWND hwndFlashPlayerControl)
{
    SFPCGetStacking info;

    info.lpszBuffer = NULL;

    ::SendMessage(hwndFlashPlayerControl, FPCM_GET_STACKING, 0, (LPARAM)&info);

    if FAILED(info.hr)
        // Error
    {
        return;
    }

    info.lpszBuffer = (TCHAR*)LocalAlloc(LPTR, info.dwBufferSize * sizeof(TCHAR));

    ::SendMessage(hwndFlashPlayerControl, FPCM_GET_STACKING, 0, (LPARAM)&info);

    if FAILED(info.hr)
        // Error
    {
        // ...
    }
    else
        // OK
    {
        ::MessageBox(NULL, info.lpszBuffer, _T("Result"), MB_OK);
    }

    LocalFree((HLOCAL)info.lpszBuffer);
}


void PutStacking(HWND hwndFlashPlayerControl, LPCTSTR Stacking)
{
    SFPCPutStacking info;

    info.lpszBuffer = Stacking;

    ::SendMessage(hwndFlashPlayerControl, FPCM_PUT_STACKING, 0, (LPARAM)&info);

    if FAILED(info.hr)
        // Error
    {
        // ...
    }
    else
        // OK
    {
        // ...
    }
}

Flash versions

3: not supported
4: not supported
5: supported
6: not supported
7: not supported
8: not supported
9: not supported



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