Quick links:
F-IN-BOX DLL Edition Home Page
| Buy license
| Welcome to our forum!
| Ask your question
| Help on the Web
F-IN-BOX DLL Edition Help >> Native Flash ActiveX Interface >> Properties WMode
Description
Messages
[ C++ ] FPCM_GET_WMODE FPCM_PUT_WMODE Structures
[ C++ ] struct SFPCGetWMode { // [in, out] LPTSTR lpszBuffer; DWORD dwBufferSize; // [out] HRESULT hr; }; struct SFPCPutWMode { // [in] LPCTSTR lpszBuffer; // [out] HRESULT hr; }; Example
[ C++ ]
void GetWMode(HWND hwndFlashPlayerControl) { SFPCGetWMode info; info.lpszBuffer = NULL; ::SendMessage(hwndFlashPlayerControl, FPCM_GET_WMODE, 0, (LPARAM)&info); if FAILED(info.hr) // Error { return; } info.lpszBuffer = (TCHAR*)LocalAlloc(LPTR, info.dwBufferSize * sizeof(TCHAR)); ::SendMessage(hwndFlashPlayerControl, FPCM_GET_WMODE, 0, (LPARAM)&info); if FAILED(info.hr) // Error { // ... } else // OK { ::MessageBox(NULL, info.lpszBuffer, _T("Result"), MB_OK); } LocalFree((HLOCAL)info.lpszBuffer); } void PutWMode(HWND hwndFlashPlayerControl, LPCTSTR WMode) { SFPCPutWMode info; info.lpszBuffer = WMode; ::SendMessage(hwndFlashPlayerControl, FPCM_PUT_WMODE, 0, (LPARAM)&info); if FAILED(info.hr) // Error { // ... } else // OK { // ... } } Flash versions
3: supported
4: supported 5: supported 6: supported 7: supported 8: supported 9: supported Copyright © Softanics. All rights reserved. F-IN-BOX is a trademark of Softanics. Macromedia and Shockwave Flash are trademarks of Adobe
Quick links:
F-IN-BOX DLL Edition Home Page
| Buy license
| Welcome to our forum!
| Ask your question
| Help on the Web
|