Slide 7.13: Line-by-line anatomy of Hello_a.c (cont.) Slide 8.1: Form demonstrations Home |
Hello_a.c
(Cont.)
pfrm = FrmGetActiveForm( );
FrmDrawForm( pfrm );
frmOpenEvent
.
formP
: Pointer to the form object (FormType structure)
FrmHandleEvent( FrmGetActiveForm( ), &e );
formP
: Pointer to the form object (FormType structure)
eventP
: Pointer to the event data structure (EventType)
true
if the event was handled.
The table provides an overview of how FrmHandleEvent
handles different events.
eventP
: Pointer to an event
FrmHandleEvent( )
.
FrmCloseAllForms( );
PilotMain( )
; that is, before termination.