Allows events to take action while animation playback is in progress.
#include "ltwrappr.h"
L_BOOL LAnimationWindow::DoEvents(pbCanceled=NULL, uVKey=VK_ESCAPE) const
Pointer to boolean flag. This parameter can be NULL.
Virtual key code to be used as an escape key.
Value | Meaning |
---|---|
TRUE | WM_QUIT message received. |
FALSE | Otherwise. |
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.
Win32, x64.
For an example, refer to LAnimationWindow::PlayAnimation.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document