FlashPlayerControl Help >> Access to Native Flash ActiveX Interface >> Methods

Rewind

Description

Go to the first frame.

Message

FPCM_REWIND

Structure

struct SFPCRewind
{    
     // [out]
     HRESULT hr;
};

Example

void InvokeRewind(HWND hwndFlashPlayerControl)
{
     SFPCRewind info;

     ::SendMessage(hwndFlashPlayerControl, FPCM_REWIND, 0, (LPARAM)&info);
    
     if FAILED(info.hr)
          // Error
     {
          // ...
     }
     else
          // OK
     {
          // ...
     }
}

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.