•  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-Filecpx_m2()
XCONTROL Callback Functions
cpx_m1()                                                           XCONTROL

Syntax

VOID (*cpx_m1)( mrets, event )
MRETS *mrets;
WORD *event;

Function      cpx_m1() is called when a MU_M1 event has occurred in an
              Event CPX.

Parameters    mrets will contain a pointer to a MRETS structure as
              specified in cpx_button() which contains the mouse state as
              it satisfied the condition. The WORD pointed to by event
              should be filled in with 1 if this event should terminate
              the CPX.

Binding       cpxinfo.cpx_m1 = cpx_m1;

              return ( &cpxinfo );

Comments      This function will only be called if Set_Evnt_Mask() is
              called with MU_M1 specified as an event to wait for.

See Also      cpx_m2()

Group         XCONTROL Callback Functions