Stop a modal loop
int PtModalUnblock( PtModalCtrl_t *ctrl, void *result );
ph
PtModalUnblock() causes the corresponding PtModalBlock() call to return the value passed to the result argument. If you call PtModalUnblock() more than once before PtModalBlock() returns, only the first call matters; don't call PtModalUnblock() after PtModalBlock() has returned.
See PtModalBlock().
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PtModalBlock(), PtModalEnd(), PtModalStart(), PtProcessEvent()
“Modal dialogs” in the Window Management chapter of the Photon Programmer's Guide