| EV_suspendPainting | Function (ROM Call 0xD7)

events.h

short EV_suspendPainting (void);

Suspends window painting.

EV_suspendPainting sets a flag which indicates that window painting is suspended (see EV_eventLoop and EV_paintWindows). Returns PAINTING_ENABLED or PAINTING_SUSPENDED depending on whether painting was enabled or disabled before calling this function (these constants are defined in enum PaintFlags), so the returned value may be later used in the EV_restorePainting function.

Uses: EV_flags
Used by: ABT_dialog, EV_defaultHandler, Dialog, ERD_dialog, EV_quit