•  Back 
  •  XCONTROL Utility 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 Utility Functions
XGen_Alert()                                                       XCONTROL

Syntax

BOOLEAN (*xcpb->XGen_Alert)( id )
WORD id;

Function      XGen_Alert() displays a specialized alert centered in the
              Control Panel's work area.

Parameters    id specifies the alert to display as follows:

               Name              id  Alert

               SAVE_DEFAULTS     0   Save Defaults?

               MEM_ERR           1   Memory Allocation Error

               FILE_ERR          2   File I/O Error

               FILE_NOT_FOUND    3   File Not Found Error

Binding       ret = (*xcpb->XGen_Alert)( id );

Return Value  XGen_Alert() returns TRUE if 'OK' was selected or FALSE if
              'Cancel' was selected. Alerts 1-3 always returns TRUE.

Group         XCONTROL Utility Functions