Back to Aurora Vision Library website
You are here: Start » Function Reference » Debug Preview » WaitForViewClose
WaitForViewClose
Header: | AVL.h |
---|---|
Namespace: | avl::DebugPreview |
Module: | FoundationLite |
Waits for a specified floating preview window to be closed by the user.
Syntax
void avl::DebugPreview::WaitForViewClose
(
avl::DebugPreview::ViewHandle view
)
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
view | DebugPreview::ViewHandle | Handle of a window to wait for. |
Description
This function will block the execution until the user manually closes the preview window associated with the specified handle, or until the debug preview subsystem is terminated by other threads. During the waiting period all preview windows remain responsive.
This function will also close the view handle releasing its resources. It is not necessary to additionally call the CloseView function on the same handle.
After the call to this function the view handle will become invalid.
See Also
- CloseAll – Closes all floating preview windows and cleanups the preview subsystem.