GetAnimateMessageInfo (Windows Embedded CE 6.0)
1/6/2010
This function retrieves the movement information for animation messages that window auto gesture system posts to a window. After an application calls SetWindowAutoGesture and specifies the WAGIF_OWNERANIMATE flag, the window auto gesture system sends messages to the window procedure to animate the content. The application can call this function for each animation message, in order to retrieve the correct values for that message.
Syntax
BOOL GetAnimateMessageInfo(
HWND hWnd,
WPARAM wParam,
LPARAM lParam,
LPANIMATEMESSAGEINFO pAnimateMessageInfo
);
Parameters
Term |
Definition |
hWnd |
[in] Handle to the target window. |
wParam |
[in] The wParam of the animation message. |
lParam |
[in] The lParam of the animation message. |
pAnimateMessageInfo |
[out] Pointer to the ANIMATEMESSAGEINFO structure that GetAnimateMessageInfo populates with the movement information. |
Return Value
Returns true if function succeeds; otherwise, false. To retrieve extended error information call GetLastError.
Remarks
You must call SetWindowAutoGesture and set the WAGIF_OWNERANIMATE flag for the window before you call this function. The ID of the animation message that window auto gesture sends is specified in the nOwnerAnimateMessage member of the WAGINFO structure.
Requirements
Header | pwinuser.h |
sysgen | SYSGEN_GESTUREANIMATION |