Form library FormWindBegin() FormWindEnd()
Programming guideline of WinDom

FormWindDo()

NAME

FormWindDo - handle a modal window formular.

PROTOTYPAGE

int FormWindDo( int evnt);

PARAMETERS

evnt:
bit field of GEM event to handle,

return:
index of selected object.

DESCRIPTION

This function handles a modal window formular opened by FormWindBegin(). The function returns the index of an EXIT or TOUCHEXIT object selected by the user. Because this function does not stop the AES events, the parameter evnt defines the event to handled. A MU_MESAG is always required in order to handled correctly the formular. Now is possible to handle timer or another events.

FormWindDo() uses EvntWindom() to handle events. So if you have binded functions to some events, these events can be handled.

If the FORM_EVNT bit of evnt parameter is set to one, FormWindDo() returns the last event occured in EvntWindom() (in addition of the selected object index). In this case, the FORM_EVNT bit of the returned value is set to one. This feature is now obsolet because WinDom uses a new method to handle GEM events (see EvntAttach()) and all event functions defined by EvntAttach() have a global action.

SEE ALSO

FormWindBegin(), FormWindEnd().