•  Back 
  •  XCONTROL Callback Functions 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The ATARI Compendium
Author      : Scott Sanders / JAY Software
Version     : 1.25 (20/6/2003)
Subject     : Documentation
Nodes       : 1117
Index Size  : 32614
HCP-Version : 6
Compiled on : Atari
@charset    : UTF-8
@lang       : en
@default    : 
@help       : %About
@options    : +g -i -t4 +y +z
@width      : 100
View Ref-FileXCONTROL Callback Functions
cpx_close()                                                        XCONTROL

Syntax

VOID (*cpx_close)( flag )
BOOLEAN flag;

Function      cpx_close() is called in an Event CPX when a WM_CLOSED or
              AC_CLOSE message is received by the control panel.

Parameters    flag contains TRUE if a WM_CLOSED message was received or
              FALSE if AC_CLOSE was received.

Binding       cpxinfo.cpx_close = cpx_close;

              return ( &cpxinfo );

Comments      This function will only be called if Set_Evnt_Mask() is
              called with MU_MESAG specified as an event to wait
              for. WM_CLOSED messages should be treated as equivalent to
              'OK' whereas AC_CLOSE messages should be treated as
              'Cancel'.

Group         XCONTROL Callback Functions