Sign in Join
FPDoc Onlineexperiment

SysSetCtrlBreakHandler function

In unit System

System CTRL-C handler.

Declaration

pascal
function SysSetCtrlBreakHandler(Handler: TCtrlBreakHandler)
: TCtrlBreakHandler

Description

SysSetCtrlBreakHandler sets the CTRL-C handler to the Handler callback, and returns the previous value of the handler.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.