API-Dokumentation > Windows and views > Object ProWindow > Function ProWindowDelete
Function ProWindowDelete
Description
Closes a window and breaks the object-to-window attachment. The function deletes the window, if it is not the base window.
You cannot break the attachment for the currently active window. Use the function ProWindowCurrentSet() to make a different window be the current window before calling this function.
This function is equivalent to the Creo Parametric option to quit the window.
Replacement in Object TOOLKIT:
Synopsis
#include <ProWindows.h>
ProWindowDelete
(
int window_id
/* (In)
The window to delete
*/
)
Returns
The function successfully deleted the window.
The argument is invalid.
The window you are trying to delete is the current window.
A general error occurred and the function failed.
See Also
Sample Code References
User Guide References
War dies hilfreich?