PtModalEnd()

Terminate modal-window processing

Synopsis:

void PtModalEnd( void );

Library:

ph

Description:

This function terminates a modal-processing loop that was initiated by PtModalStart().


Note: We recommend using PtModalBlock() and PtModalUnblock() instead of a PtModalStart() / PtProcessEvent() / PtModalEnd() loop. PtModalBlock() makes it easier for you to write modal code that's compatible with multithreaded applications.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtModalBlock(), PtModalStart(), PtModalUnblock(), PtProcessEvent()

Modal dialogs in the Window Management chapter of the Photon Programmer's Guide