LAnimationWindow::DoEvents

#include "ltwrappr.h"

L_BOOL LAnimationWindow::DoEvents(pbCanceled=NULL, uVKey=VK_ESCAPE) const

Allows events to take action while animation playback is in progress.

Parameters

L_BOOL * pbCanceled

Pointer to boolean flag. This parameter can be NULL.

L_UINT uVKey

Virtual key code to be used as an escape key.

Returns

Value Meaning
TRUE WM_QUIT message received.
FALSE Otherwise.

Comments

This function passes control to the operating system. Control is returned after the operating system has finished processing the events in its queue (messages).

DoEvents is most useful for allowing a user to cancel a playback after it has started.

If pbCanceled is not NULL, on return it will contain TRUE if the user has pressed the escape key during message processing.

If the DoEvents captured the WM_QUIT message, the return value is TRUE, otherwise it is FALSE.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to LAnimationWindow::PlayAnimation.

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.