scripting:api:pane:can-close

CanClose

Event of IPane

Indicates that pane can be closed (terminated on application exit)

Read-Only Property of type VARIANT_BOOL

var bValue = Pane.CanClose;
bValue = Pane.CanClose
VARIANT_BOOL bValue;
HRESULT hr = Pane.get_CanClose(&bValue);