Allows events to take action while animation playback is in progress.
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.
|TRUE||WM_QUIT message received.|
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.
For an example, refer to LAnimationWindow::PlayAnimation.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries