SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTree/NET 2.0 - Tree Control
Store the HWND of a Microsoft Animation control playing an AVI clip in a SFT_PICTURE as a SFT_PICTURE_AVI slot.
C
void Sft_SetPictureAnimate(LPSFT_PICTURE lpPicture, HWND hwndAnim);lpPicture
Pointer to a SFT_PICTURE. Must not be NULL.
hwndAnim
HWND of a Microsoft Animation control (ANIMATE_CLASS from commctrl.h). NULL leaves the slot empty.
Sft_SetPictureAnimate calls Sft_ClearPicture internally before assigning the new animation HWND.
The animation control is created by the application using Animate_Create or by placing an Animate Control in a dialog template. The application loads the AVI clip (Animate_Open) and starts playback (Animate_Play); the host control simply paints the animation control inside the slot.
Per-product control fields (e.g. SFTBUTTON_CONTROL.fAVITransparent) often expose options that affect how the animation is composited - check the per-product help.
See Also SftPicture2 | SFT_PICTURE | SFT_PICTURE_AVI | Sft_IsPictureAnimate
