Share via


Animate_Create (Windows CE 5.0)

Send Feedback

This macro creates an animation control. It calls the CreateWindow function to create the animation control.

HWND Animate_Create(   HWND hwndP,   UINT id,   DWORD dwStyle,   HINSTANCE hInstance);

Parameters

  • hwndP
    Handle to the parent window.
  • id
    Child window identifier of the animation control.
  • dwStyle
    Window styles. For a list of the animation control style values, see Animation Controls Styles.
  • hInstance
    Handle to the instance of the module that is creating the animation control.

Return Value

Returns the handle to the animation control.

Remarks

If the ACS_CENTER style in Animation Controls Styles is specified, this macro sets the width and height of the animation control to zero. If the ACS_CENTER style is not specified, this macro sets the width and height based on the dimensions of a frame in the AVI clip.

Requirements

OS Versions: Windows CE 5.0
Header: Commctrl.h.

See Also

Animation Controls Macros

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.