Destroys a docking user window, which was previously created by calling createWindow.
When a user window is destroyed, all of its forms and controls are destroyed along with it. Thus, only the user window itself needs to be destroyed.
Upon shut down, Shogun Post automatically destroys all user windows.
User Window
destroyWindow userWindowID |
Name | Type | Required | Comments |
---|---|---|---|
windowId | int | yes | The user window ID previously obtained from calling createWindow. |
None
void
// Create and Destroy a user window int $windowId; // Create the user window $windowId = `createWindow "MyWindow"`; // ... and immediately destroy it destroyWindow $windowId; |