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

FPCM_GET_FRAME_BITMAP

Description

Creating a bitmap from the current frame of a movie.

Message

[ C++ ]
FPCM_GET_FRAME_BITMAP

Structure

[ C++ ]
typedef struct SFPCGetFrameBitmap
{
    // [out]
    HBITMAP hBitmap;

} SFPCGetFrameBitmap;

Example

[ C++ ]
hwndFlashPlayerControl = 
    FPC_CreateWindow(...);
...
// Create a bitmap from current frame
SFPCGetFrameBitmap FPCGetFrameBitmap = { 0 };

::SendMessage(hwndFlashPlayerControl, FPCM_GET_FRAME_BITMAP, 0, (LPARAM)&FPCGetFrameBitmap);

HBITMAP hBitmap = FPCGetFrameBitmap.hBitmap;
...
DeleteObject(hBitmap);


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