Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates an animation control. Animate_Create calls the CreateWindow function to create the animation control.
HWND Animate_Create(
HWND hwndP,
UINT id,
DWORD dwStyle,
HINSTANCE hInstance
);
hwndP
Type: HWND
A handle to the parent window.
id
Type: UINT
The child window identifier of the animation control.
dwStyle
Type: DWORD
The window styles. For a list of the animation control style values, see Animation Control Styles.
hInstance
Type: HINSTANCE
A handle to the instance of the module that is creating the animation control.
Type: HWND
Returns the handle to the animation control.
The Animate_Create macro sets the width and height of the animation control to zero if the ACS_CENTER style is specified. If the ACS_CENTER style is not specified, Animate_Create sets the width and height based on the dimensions of a frame in the AVI clip.
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | commctrl.h |