As an example, consider the process of posting an event to force Vermont Views to suspend processing the current data form and begin processing a new window new_wnp. Checking the table in the Function Reference, you find that the correct event type is AC_FMSUSPEND. For this event type, wmsg is not used, and lmsg is used as a pointer to the window to activate next (not, as most people expect, a pointer to the window to be suspended). The code fragment to post this event is:
|
where new_wnp is a pointer to the window to activate.