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 Functionscpx_draw() XCONTROLSyntaxVOID (*cpx_draw)( clip )
GRECT *clip;
Function cpx_draw() is called when a WM_REDRAW message is received by
the control panel in an Event CPX.
Parameters clip points to a GRECT structure specifiying the dirtied
area.
Binding cpxinfo.cpx_draw = cpx_draw;
return ( &cpxinfo );
Comments This routine should utilize GetFirstRect() and GetNextRect() to obtain the true rectangles of the area to redraw. This
function will only be called if Set_Evnt_Mask() is called
with MU_MESAG specified as an event to wait for.
Group XCONTROL Callback Functions