•  Back 
  •  CPX functions 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : TOS - The Operating System
Author      : 
Version     : tos.hyp (December 19, 2008)
Subject     : Programmieren/Atari
Nodes       : 3010
Index Size  : 93790
HCP-Version : 5
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Title
@help       : 
@options    : +g -i -s +x +zz -t4
@width      : 70
View Ref-File9.1.2.3  cpx_close                                                 TOS

 Name:        »cpx_close« - Event for closing the CPX window.

 Declaration  VOID cdecl (*cpx_close) (int16_t flag);

 Description  The call cpx_close serves for closing the CPX module. 
              The following apply:

               Parameter  Meaning
               flag       Reason for closing:
                              0  =  AC_CLOSE message 
                           <> 0  =  WM_CLOSE message 


              Note: The function is called for every AC_CLOSE or 
              WM_CLOSE message. The CPX should then immediately 
              release all memory reserved for it. The function must be 
              implemented for every Event CPX. AC_CLOSE is to be 
              evaluated as 'Cancel', WM_CLOSE as 'OK'.

 Return value: The function does not return a result.

 Group:       CPX functions

 See also:    cpx_init   XCONTROL