home *** CD-ROM | disk | FTP | other *** search
- /* Cell Proj 1.0 */
-
- #include "Cell_Proto.h"
- #include "Cell_Definitions.h"
- #include "Cell_Variables.h"
-
-
- HandleUpdateEvt()
- {
- if ( ( WindowPtr ) gTheEvent.message == gCellWindow )
- {
- BeginUpdate( ( WindowPtr ) gTheEvent.message );
- SetPort( gCellWindow );
- EndUpdate( ( WindowPtr ) gTheEvent.message );
- }
- }
-
- HandleActivateEvt()
- {
- if ( (WindowPtr)gTheEvent.message == gCellWindow )
- {
- if (( gTheEvent.modifiers & activeFlag ) != 0 )
- {
- SetPort( gCellWindow );
- SelectWindow( gCellWindow );
- }
- else
- {
- SetPort( gCellWindow );
- }
- }
- }