FlashPlayerControl Help >> Access to Native Flash ActiveX Interface >> Properties
Description
Messages
FPCM_GET_STACKING
FPCM_PUT_STACKING |
Structures
struct SFPCGetStacking
{
LPTSTR lpszBuffer;
DWORD dwBufferSize;
HRESULT hr;
};
struct SFPCPutStacking
{
LPCTSTR lpszBuffer;
HRESULT hr;
};
|
Example
void GetStacking(HWND hwndFlashPlayerControl)
{
SFPCGetStacking info;
info.lpszBuffer = NULL;
::SendMessage(hwndFlashPlayerControl, FPCM_GET_STACKING, 0, (LPARAM)&info);
if FAILED(info.hr)
{
return;
}
info.lpszBuffer = (TCHAR*)LocalAlloc(LPTR, info.dwBufferSize * sizeof(TCHAR));
::SendMessage(hwndFlashPlayerControl, FPCM_GET_STACKING, 0, (LPARAM)&info);
if FAILED(info.hr)
{
}
else
{
::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)
{
}
else
{
}
}
|
Flash versions
5: supported
6: not supported
7: not supported
Copyright © 2004 Softanics. All rights reserved.
Delphi is a trademark of Borland Software Corporation.
Macromedia and Shockwave Flash are trademarks of Macromedia, Inc.
|