FlashPlayerControl Help >> Access to Native Flash ActiveX Interface >> Properties
Description
The current rendering quality. String: 'Low', 'Hight', 'AutoLow' or 'AutoHight'.
Messages
FPCM_GET_QUALITY2
FPCM_PUT_QUALITY2 |
Structures
struct SFPCGetQuality2
{
LPTSTR lpszBuffer;
DWORD dwBufferSize;
HRESULT hr;
};
struct SFPCPutQuality2
{
LPCTSTR lpszBuffer;
HRESULT hr;
};
|
Example
void GetQuality2(HWND hwndFlashPlayerControl)
{
SFPCGetQuality2 info;
info.lpszBuffer = NULL;
::SendMessage(hwndFlashPlayerControl, FPCM_GET_QUALITY2, 0, (LPARAM)&info);
if FAILED(info.hr)
{
return;
}
info.lpszBuffer = (TCHAR*)LocalAlloc(LPTR, info.dwBufferSize * sizeof(TCHAR));
::SendMessage(hwndFlashPlayerControl, FPCM_GET_QUALITY2, 0, (LPARAM)&info);
if FAILED(info.hr)
{
}
else
{
::MessageBox(NULL, info.lpszBuffer, _T("Result"), MB_OK);
}
LocalFree((HLOCAL)info.lpszBuffer);
}
void PutQuality2(HWND hwndFlashPlayerControl, LPCTSTR Quality2)
{
SFPCPutQuality2 info;
info.lpszBuffer = Quality2;
::SendMessage(hwndFlashPlayerControl, FPCM_PUT_QUALITY2, 0, (LPARAM)&info);
if FAILED(info.hr)
{
}
else
{
}
}
|
Flash versions
5: supported
6: supported
7: supported
Copyright © 2004 Softanics. All rights reserved.
Delphi is a trademark of Borland Software Corporation.
Macromedia and Shockwave Flash are trademarks of Macromedia, Inc.
|