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++ ]
  1. FPCM_GET_FRAME_BITMAP  

Structure

[ C++ ]
  1. typedef struct SFPCGetFrameBitmap  
  2. {  
  3.     // [out]  
  4.     HBITMAP hBitmap;  
  5.   
  6. } SFPCGetFrameBitmap;  

Example

[ C++ ]
  1. hwndFlashPlayerControl =   
  2.     FPC_CreateWindow(...);  
  3. ...  
  4. // Create a bitmap from current frame  
  5. SFPCGetFrameBitmap FPCGetFrameBitmap = { 0 };  
  6.   
  7. ::SendMessage(hwndFlashPlayerControl, FPCM_GET_FRAME_BITMAP, 0, (LPARAM)&FPCGetFrameBitmap);  
  8.   
  9. HBITMAP hBitmap = FPCGetFrameBitmap.hBitmap;  
  10. ...  
  11. DeleteObject(hBitmap);  


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