%cc - Control Closure

Purpose

To control the closure of a window.

Syntax

winio@('%cc',cb_func)
external cb_func

Modifiers

Grave accent (`) - the call-back is called after the window has closed rather than before..

Description

Provides a link to a call-back function by which the user controls the action to be taken just before a window is closed. If a grave is used (%`cc) then the associated call-back function is called immediately after the window is closed. You can use both %cc and %`cc in one window.
The call-back function should return zero to allow the closing to continue. Other return values will halt the close down.

See also

%lw (Leave Window Open), %ew (Exit Windows Callback)

 

 

 

Basket
Empty
 
Copyright © 1999-2020 Silverfrost Limited