Silverfrost Logo About Us | Contact Us

%cc - Control Closure


To control the closure of a window.


external cb_func


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


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




Copyright © 1999-2019 Silverfrost Limited