GotoFrame

Messages

FPCM_GOTOFRAME

Structures

struct SFPCGotoFrame
{
    // [in]
    long FrameNum;
 
    // [out]
    HRESULT hr;
};

Description

Calls GotoFrame.

Example

void InvokeGotoFrame(HWND hwndFlashPlayerControl, long FrameNum)
{
    SFPCGotoFrame info;
 
    info.FrameNum = FrameNum;
 
    ::SendMessage(hwndFlashPlayerControl, FPCM_GOTOFRAME, 0, (LPARAM)&info);
 
    if FAILED(info.hr)
        // Error
    {
        // ...
    }
    else
        // OK
    {
        // ...
    }
}