F-IN-BOX DLL Edition Help >> Native Flash ActiveX Interface >> Methods

TSetProperty

Description

For the timeline indicated by target, sets the value of the property specified by property_ to the value. See TGetProperty.

Message

[ C++ ]
FPCM_TSETPROPERTY

Structure

[ C++ ]
struct SFPCTSetProperty
{
    // [in]
    struct
    {
        LPCTSTR lpszBuffer;

    } target;

    // [in]
    int property;
    // [in]
    struct
    {
        LPCTSTR lpszBuffer;

    } value;



    // [out]
    HRESULT hr;
};

Example

[ C++ ]
void InvokeTSetProperty(HWND hwndFlashPlayerControl, LPCTSTR target, int property, LPCTSTR value)
{
    SFPCTSetProperty info;


    info.target.lpszBuffer = target;

    info.property = property;

    info.value.lpszBuffer = value;


    ::SendMessage(hwndFlashPlayerControl, FPCM_TSETPROPERTY, 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